Commit Graph

88653 Commits

Author SHA1 Message Date
hjk
fa71a4879c debugger: work on autotests 2009-10-14 10:02:07 +02:00
Oswald Buddenhagen
af3a387b5f do not attempt to load dumpers until the inferior is fully initialized
specifically, this will skip the initial stop at _start when using the
terminal and remote adapters.
2009-10-13 20:43:13 +02:00
Oswald Buddenhagen
e55f344ba6 enable dumpers for attaching to debuggees
FIXME: if the attached to program has no relation to the currently
selected run configuration, the qt version config dialog will pop up
rather effectlessly and thus confusingly.
2009-10-13 20:43:13 +02:00
Oswald Buddenhagen
70f696d056 -gdb-exit has a special return code as well 2009-10-13 20:43:13 +02:00
Oswald Buddenhagen
98b477fc32 missed that -exec-continue 2009-10-13 20:43:13 +02:00
Oswald Buddenhagen
b27093c07d fix state machine surrounding spontaneous stops 2009-10-13 20:43:13 +02:00
Oswald Buddenhagen
d1783e0974 fold preparing inferior into starting inferior
after refactoring the trk adapter startup, the split was not necessary
any more. in fact, it seemed fairly arbitrary at this point.
2009-10-13 20:43:12 +02:00
Oswald Buddenhagen
9aaa953245 reorder instructions for readability 2009-10-13 20:43:12 +02:00
Oswald Buddenhagen
1871664e0f fix message 2009-10-13 20:43:12 +02:00
Oswald Buddenhagen
a2cc84194f remove dead code 2009-10-13 20:43:12 +02:00
Oswald Buddenhagen
7782e26ae6 comment out handleExecRunToFunction()
it is currently unused. do not just remove it, as hjk says he wants to
revive it.
2009-10-13 20:42:11 +02:00
Robert Loehning
885a425dd1 Trk: Some minor code improvements 2009-10-13 19:11:30 +02:00
con
263d559e86 Merge commit 'origin/1.3' 2009-10-13 17:29:47 +02:00
dt
1db44c0513 Merge branch '1.3' of git@scm.dev.nokia.troll.no:creator/mainline into 1.3 2009-10-13 17:18:39 +02:00
dt
ceaa92ecbb Set correct mime type for C++ files. 2009-10-13 17:18:23 +02:00
hjk
b9cd3378f7 debugger: work on dumper autotests 2009-10-13 14:42:47 +02:00
hjk
594730f3ac debugger: adjust dumper autotest to valuedisabled='true' -> valueeditable='false' change 2009-10-13 14:42:47 +02:00
hjk
51906dc408 debugger: don't test json parsing as this was removed 2009-10-13 14:42:47 +02:00
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
Friedemann Kleint
744febe01a Debugger/Dumpers: Perform checks on QList/QVector<RawPointer>.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-10-13 12:35:47 +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
con
71d1f3eeba Update changes file 2009-10-12 17:50:41 +02:00
hjk
264463283a debugger: remove debug output 2009-10-12 16:38:02 +02:00
Daniel Molkentin
c48c3cb466 Fixes to tutorial, added missing screenshots.
Reviewed-By: con
2009-10-12 16:14:18 +02:00
Daniel Molkentin
cbee229700 docs: Compile Fixes, Fixups in addressbook example
Reviewed-By: TrustMe
2009-10-12 16:14:17 +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
dt
b0e58aa834 Update changelog 2009-10-12 13:49:16 +02:00
Friedemann Kleint
e1ce20bf8f i18n: Update German translation for 1.3 2009-10-12 12:35:10 +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
Roberto Raggi
db14533928 Updated changes-1.3.0 2009-10-12 10:37:36 +02:00
con
7ecbfbe6d2 Merge commit 'origin/1.3' 2009-10-09 20:15:17 +02:00
con
daa6e54ae7 Start on documentation for Qt for Symbian development in Qt Creator 2009-10-09 20:11:56 +02:00