Commit Graph

72811 Commits

Author SHA1 Message Date
Roberto Raggi
c33a8e9498 Rename the given enumerator. 2009-10-13 14:38:53 +02:00
Friedemann Kleint
14058c07ec CDB: Bug fixing
- Turn off initial breakpoint when attaching (terminal) and
  additionally ignore it before the first startup complete
- Refuse to step  the artifical thread created when
  interrupting
- If possible, switch to thread 0 when interupting (do not
  use artificial thread)
- Ignore non-fatal exceptions in dumper calls (stray Startup-
  complete-traps)
- Use right thread for dumper call loading
- Rename windows exception code enumeration
- Turn off modification off watch-data children by setType,
  show empty lists correctly.
- Verbose warnings about inserting invalid watch data.
2009-10-13 14:16:50 +02:00
Roberto Raggi
5bee5dea13 Check the scope of class and fwd-class declarations 2009-10-13 12:21:05 +02:00
Thorbjørn Lindeijer
b07c1be547 Fixed a crash on exit when include files are still being scanned
Found by Roberto.
2009-10-13 12:14:23 +02:00
Oswald Buddenhagen
1653e287e7 if 0 some code - the calling code is if 0'd as well 2009-10-12 18:52:15 +02:00
Oswald Buddenhagen
973f607e64 centralize entering the InferiorStartFailed state 2009-10-12 18:52:15 +02:00
Oswald Buddenhagen
1a27681c78 change trk adapter setup sequence
gdb can be started before the debugee, so do it. that's more in line
with the other adapters.
2009-10-12 18:52:00 +02:00
Oswald Buddenhagen
9254bc0bb1 remove dead code 2009-10-12 18:51:49 +02:00
Oswald Buddenhagen
63882fc773 simplify 2009-10-12 18:51:49 +02:00
hjk
5523c77eac fix a few license headers 2009-10-12 18:32:08 +02:00
hjk
264463283a debugger: remove debug output 2009-10-12 16:38:02 +02:00
con
9a0896802d Missing bookkeeping when removing Qt Versions.
Reviewed-by: dt
2009-10-12 15:31:20 +02:00
Oswald Buddenhagen
68c2156f6f add docu to GdbCommandFlag values 2009-10-12 14:56:35 +02:00
Oswald Buddenhagen
a1a8f6adcb centralize gdb command result class checking
each command can have only one of two legitimate responses: "error" or -
depending on the command, and thus declared via a flag - "done" or
"running".
this is way nicer than sprinkling the code with else-ifs (where elses
are sufficient) and asserts all over the place - and silently failing in
release builds.
2009-10-12 14:56:35 +02:00
Oswald Buddenhagen
2de8f49ee3 remove dead code 2009-10-12 14:56:35 +02:00
hjk
7e3d954195 debugger: work on a "synchroneous" mode
For the case that gdb can give all the interesting data in one go.
2009-10-12 14:51:23 +02:00
hjk
982347dda5 debugger: provide support for .toHex() encoded string data.
more verbose than base64 but also less work on the dumper side
2009-10-12 14:51:22 +02:00
Roberto Raggi
f7263f2333 Fixed lookup of qualified name ids. 2009-10-12 14:08:26 +02:00
Friedemann Kleint
b2924aa66b I18n: Tr()-fixes 2009-10-12 12:33:12 +02:00
Roberto Raggi
8ccc07a10b Stop at the T_COMMA when searching backward for an expression. 2009-10-12 12:25:22 +02:00
Roberto Raggi
99c3327719 Improved support for private classes. 2009-10-12 12:01:01 +02:00
Rohan McGovern
eacb27f1fb Fixed transient compile failure with highly parallel jom.
These .pri files which add to INCLUDEPATH and have FORMS should also add
to DEPENDPATH.

Adding to INCLUDEPATH does not add to DEPENDPATH by default with qmake.
That means qmake may not find headers in those paths and won't
consider them dependencies when compiling the source files which include
them.

This doesn't matter when all the headers in the new INCLUDEPATH are
always present, but when some of them are generated (e.g. from FORMS),
the dependencies are important and omitting them means a race condition
in parallel builds.

Fixes errors of the form:
  ..\..\shared\help\topicchooser.h(33) : fatal error C1083: Cannot open
    include file: 'ui_topicchooser.h': No such file or directory
(cherry picked from commit 9a7e02946a)
2009-10-12 11:11:01 +02:00
Roberto Raggi
420b09e8c2 Expose CppModelManagerInterface::workingCopy() 2009-10-12 10:38:00 +02:00
con
7ecbfbe6d2 Merge commit 'origin/1.3' 2009-10-09 20:15:17 +02:00
con
8a0739813e Fix bug when detecting S60 SDKs the first time. 2009-10-09 20:11:54 +02:00
Robert Loehning
6a6f944490 S60 -> Symbian for visible strings 2009-10-09 18:42:38 +02:00
con
d500ceacf2 Add both "debug" and "release" build configurations, not only "release".
Reviewed-by: dt
2009-10-09 18:15:45 +02:00
Roberto Raggi
c17fcb8ac6 Fixed a typo.
Renamed doockToolBarWidgets
2009-10-09 17:41:09 +02:00
Friedemann Kleint
162be9a338 CDB: Add nagging about old version of Debugging Tools.
Add utility to figure out DLL/Product versions.
2009-10-09 17:33:24 +02:00
Oswald Buddenhagen
8e6d25d14a centralize gdb comm log queuing
this drastically improves the usefulness of the debugger output window
by making internal and external messages appear in sync.
2009-10-09 16:36:58 +02:00
Robert Loehning
0a9a1e98d9 S60 -> Symbian for visible strings, fixed missing one
Reviewed-by: Daniel Molkentin
2009-10-09 16:28:29 +02:00
Erik Verbruggen
d61eb9c893 Syntax highlighting for Objective-C identifiers (super, self, nil, Nil, _cmd, SEL, IMP, BOOL, YES, NO, id). 2009-10-09 15:23:19 +02:00
Erik Verbruggen
4b44fa5f4a Added Objective-C @-keywords to the completion. 2009-10-09 15:22:57 +02:00
Daniel Molkentin
5a0566249b S60 -> Symbian for visible strings
Reviewed-By: con
2009-10-09 15:00:23 +02:00
Daniel Molkentin
555f8a02ec Remove cygwin options now that we have a GDB which was build with MinGW.
Also, remove COM port selection on windows. It is taken from the run
configuration in case of Windows anyway.

Reviewed-By: Friedemann Kleint
2009-10-09 15:00:23 +02:00
Robert Loehning
7856541d0e Trk: Removed unneeded header. 2009-10-09 14:35:36 +02:00
Robert Loehning
bf167fd489 Trk: Protected TrkWriteQueue::slotHandleResult with Mutex. 2009-10-09 14:27:01 +02:00
Robert Loehning
a9ca176a64 Trk: Reverting 8d9ccaff01, preferring other design. 2009-10-09 14:27:01 +02:00
Friedemann Kleint
8266c366a3 CDB: Make use of the improved debugger expression syntax
CDB can now handle sizeof(Class) and even expressions that
determine the offset of map node values (to some extent), may still
fail with templates). Format expressions accordingly, adapt
cached expressions.
Use gdbQuoteType depending on debugger type only.
Most important, do not evaluate each expression separately before
issuing the call, as ".call" can now do it on its own. Check for syntax
errors there and cache failing types as before.
2009-10-09 14:11:05 +02:00
Oswald Buddenhagen
9ae0575ae2 add central GdbEngine::handleInferiorPidChanged()
fixes build
2009-10-09 13:39:27 +02:00
con
fe9d0bf3c5 Enable multi key shortcuts on the Mac.
Since that was fixed in Qt.
2009-10-09 13:33:56 +02:00
Oswald Buddenhagen
1610c14d22 make direct call of handleStop1() more elegant 2009-10-09 13:01:51 +02:00
Oswald Buddenhagen
b84d2f32c7 micro-optimization
don't evaluate expression for possible reset if the variable is already
unset ...
2009-10-09 13:01:50 +02:00
Oswald Buddenhagen
21314b78d9 rename handleAsyncOutput() => handleStopResponse() 2009-10-09 13:01:50 +02:00
Oswald Buddenhagen
e0f4c4bcee =thread-group-created are the new process creation notifications 2009-10-09 13:01:50 +02:00
Oswald Buddenhagen
8fdf9e61bf remove "stopped" which is immediately followed by "processing queued..." 2009-10-09 13:01:50 +02:00
Oswald Buddenhagen
0eca150031 debug output: don't claim "continuing after temporary stop" if we are not 2009-10-09 13:01:50 +02:00
Oswald Buddenhagen
70efac9753 assert correct state 2009-10-09 13:01:50 +02:00
Roberto Raggi
88f3fa09be Removed deprecated PrettyPrinter. We need a way to generate the pretty printer from the C++ parser. 2009-10-09 11:44:12 +02:00
Roberto Raggi
97c6671ea8 Mark the usages of a symbol using the semantic highlighter. 2009-10-09 11:33:31 +02:00