Commit Graph

157 Commits

Author SHA1 Message Date
hjk
c110da750b debugger: make QAction a base class of DebuggerAction 2009-03-19 15:54:52 +01:00
hjk
5999c35d2c debugger: some action related cleanup 2009-03-19 15:44:26 +01:00
hjk
532c18d723 debugger: make add & remove wathcers work again after the action changes 2009-03-19 12:53:58 +01:00
hjk
66674d3ae9 debugger: more actions reshuffling 2009-03-19 10:54:27 +01:00
hjk
0b58f1f527 debugger: reorganizing settings and actions in progress 2009-03-19 09:32:47 +01:00
hjk
da1492cf28 debugger: start action handling refactoring 2009-03-18 09:03:47 +01:00
hjk
cc89dcc75b debugger: make "Use Dumpers" a pool action 2009-03-17 17:06:39 +01:00
hjk
f73a4d5fd8 Fixes: debugger: try accessing compiled-in dumpers when attaching to an
external application
2009-03-16 13:16:17 +01:00
hjk
d5fb9e10e1 Fixes: debugger: tentative fix for parsing Mac's 'info shared' output
Details:  Mac gdb produces MI-style output for the non-MI-style command
2009-03-12 12:00:53 +01:00
hjk
8958a079b5 Fixes: debugger: also show the original address in a tooltip when
auto-dereferencing contents
2009-03-11 15:09:33 +01:00
hjk
d3f8d16f88 Fixes: debugger: implement custom dumpers for std::set
Task:     246286
2009-03-11 13:31:38 +01:00
dt
caf86a8c27 Fixes: Compile 2009-03-11 12:07:05 +01:00
dt
c395680eb6 Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
Conflicts:
	src/plugins/debugger/gdbengine.cpp
2009-03-11 11:49:38 +01:00
hjk
c37e4426ed Fixes: debugger: write current settings to log file 2009-03-10 18:38:14 +01:00
hjk
341de778ef Fixes: debugger: make loading list of source files optional 2009-03-10 17:30:11 +01:00
dt
8d5832808f Revert "Revert "Fixes: debugger: disable automatic loading list of source files""
This reverts commit dcb43b04cc.
2009-03-10 16:14:57 +01:00
dt
dcb43b04cc Revert "Fixes: debugger: disable automatic loading list of source files"
This reverts commit b99f3b61b4.
2009-03-10 14:01:10 +01:00
hjk
b99f3b61b4 Fixes: debugger: disable automatic loading list of source files
Details:  accounted for >60% startup time in some cases and was
presumably only needed as help for a fallback when setting breakpoints
with gdb 6.5 on Windows
2009-03-09 10:13:05 +01:00
Oswald Buddenhagen
6e118e72a0 process interruption improvements
rely on the inferior's pid being available. consequently, remove the
bizarre findChild stuff.
2009-03-05 15:26:23 +01:00
Oswald Buddenhagen
445e409db7 improve the windows thread info parsing regexp
fixes interrupting processes with some versions of gdb
2009-03-05 15:26:23 +01:00
hjk
77db01c410 Fixes: debugger: re-add code that was accidentally removed in bd96ebf7 2009-03-04 10:11:42 +01:00
hjk
bd96ebf749 Fixes: debugger: provide gdb macro based dumpers for QString and QStringList
Details:  That works with a core file, too. The "real" dumpers require a
live process as they use gdb's "call"
2009-03-03 17:27:25 +01:00
hjk
85adf63551 Fixes: debugger: attaching to core files works now 2009-03-03 09:31:13 +01:00
hjk
07d51d0c14 Fixes: debugger: worlk on core file loading 2009-03-02 15:14:12 +01:00
hjk
3059046a48 Fixes: debugger: start work on core file loading 2009-03-02 13:08:30 +01:00
Oswald Buddenhagen
bbaf7893cc "debug in terminal" feature.
includes complete refactoring of ConsoleProcess.
2009-02-27 18:04:36 +01:00
Oswald Buddenhagen
788f84f792 Merge commit '80e89b23a329453e8dda0f3c48053b8fbe4968c1' 2009-02-25 15:41:36 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Oswald Buddenhagen
80e89b23a3 optimize output receiver somewhat 2009-02-24 22:36:36 +01:00
Oswald Buddenhagen
0acae6f8ac whoops ... amend output receiver rewrite
- remove stale connect()
- clear buffer after it was completely used
2009-02-24 22:03:23 +01:00
Oswald Buddenhagen
e00b90ccd5 rewrite gdb output receiver
fixes chopping up of very long responses which quickly follow other
responses.

the line segmentation is done in readGdbStandardOutput() now.
handleResponse() is not called through a queued slot any more, as the
output receiver is already synchronized to the event loop.
2009-02-24 20:41:04 +01:00
Oswald Buddenhagen
a340a9937d remove fixMac hack
it's broken and nobody seems to have noticed. that might be because the
interpreter doesn't care whether something is a list or a tuple.
if this is reintroduced for some reason, it should be done directly in
the affected code path.
2009-02-24 20:41:04 +01:00
Oswald Buddenhagen
6cf8628cae unbreak mac debugging again
setting the initial breakpoint at the entry point wreaks havoc, so set
it at main() instead. this will miss any breakpoints in global ctors and
(currently) makes it impossible to set an actual breakpoint at main.
2009-02-24 17:06:02 +01:00
Oswald Buddenhagen
0e25fb6ec5 make initial breakpoint finding work on mac
unlike the upstream gdb, the mac one gives an MI response to "info
target" when in MI mode.
2009-02-24 16:25:34 +01:00
Oswald Buddenhagen
3fcb20d6bb Merge branch '1.0.0' into master-master
Conflicts:
	src/plugins/debugger/debugger.pro
	src/plugins/debugger/gdbengine.cpp
2009-02-24 15:15:39 +01:00
Oswald Buddenhagen
7ec95338d5 more reliable startup breakpoint handling
instead of picking "random" known entry point symbols, ask the debugger
for the actual entry point.
this also removes the "one instruction after the first one" hack, as it
seems fairly pointless.
NOTE: this does *not* work with the 2005 version of apple gdb.

Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-24 15:09:27 +01:00
Oswald Buddenhagen
4a5137e0aa more elegant 2009-02-24 15:09:27 +01:00
Oswald Buddenhagen
26a77e1e5b less confusing "starting debugger" messages 2009-02-24 15:09:27 +01:00
hjk
89717f25f9 Fixes: debugger: compile with QT_NO_CAST_TO_ASCII 2009-02-24 15:09:27 +01:00
Oswald Buddenhagen
581cf86b09 make attach & detach work
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-24 15:09:27 +01:00
Oswald Buddenhagen
398c1fd9df more thoughtfull setTokenBarrier() placement
also, make it complain upon abuse of this call.

Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-24 15:09:26 +01:00
Oswald Buddenhagen
265866f6fc fix typos in comments 2009-02-24 15:09:26 +01:00
Oswald Buddenhagen
e07ed90b6a more elegant 2009-02-23 18:11:43 +01:00
Oswald Buddenhagen
3fca94780a Merge branch '1.0.0' into master
Conflicts:
	src/plugins/debugger/gdbengine.cpp
2009-02-23 17:03:25 +01:00
hjk
5fbd588a98 Fixes: debugger: fix Mac OS 10.4 2009-02-23 16:06:23 +01:00
Oswald Buddenhagen
954c5ee623 more reliable startup breakpoint handling
instead of picking "random" known entry point symbols, ask the debugger
for the actual entry point.
this also removes the "one instruction after the first one" hack, as it
seems fairly pointless.
NOTE: this does *not* work with the 2005 version of apple gdb.
2009-02-20 13:56:32 +01:00
Oswald Buddenhagen
b358b10622 less confusing "starting debugger" messages 2009-02-20 12:36:02 +01:00
hjk
a8300b3f59 Fixes: debugger: compile with QT_NO_CAST_TO_ASCII 2009-02-19 10:46:47 +01:00
Marius Bugge Monsen
4168a5da9d Fixes: compile on Mac
RevBy: ossi
2009-02-18 16:16:58 +01:00
Oswald Buddenhagen
ed3453e8ea make attach & detach work 2009-02-18 15:39:22 +01:00