Commit Graph

175 Commits

Author SHA1 Message Date
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
Oswald Buddenhagen
f5cb9d11f0 more thoughtfull setTokenBarrier() placement
also, make it complain upon abuse of this call.
2009-02-18 15:38:04 +01:00
Oswald Buddenhagen
27c7418394 fix typos in comments 2009-02-18 15:38:04 +01:00
hjk
5a07f48691 Fixes: debugger: on async output, first handle all cases where
the inferior exited.
    Details:  that catches early exits due to startup problems as well
2009-02-17 17:44:56 +01:00
Roberto Raggi
72f72d5119 Compile. 2009-02-17 17:44:08 +01:00
hjk
84e5a57bab Fixes: add a view to see current source file mapping 2009-02-17 17:44:00 +01:00
hjk
7020acb367 Fixes: debugger: set width and height of "terminal" to 0 to avoid
extra prompting
2009-02-17 17:42:32 +01:00
hjk
b4a7921832 Fixes: debugger: work on process logic
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:42:08 +01:00
Oswald Buddenhagen
25c7eb3dff Fixes: windows build 2009-02-17 17:41:38 +01:00
Oswald Buddenhagen
1dd1752c4e move -data-list-register-names up to the other initializers. 2009-02-17 17:41:34 +01:00
hjk
aef3fa6703 Fixes: debugger: enum naming cosmetics 2009-02-17 17:41:29 +01:00
Oswald Buddenhagen
32ff5cf9ee Fixes: debugging external apps
just treat it the same as internal apps as far as gdbengine is
concerned.
2009-02-17 17:41:20 +01:00
hjk
2cb3536a3c Fixes: debugger: work on shutdown 2009-02-17 17:41:14 +01:00
hjk
24479744eb Fixes: debugger: try to extact pid from 'info threads' on windows 2009-02-17 17:41:03 +01:00
hjk
140f34c529 Fixes: debugger: try fixing startup break on make 2009-02-17 17:40:58 +01:00
hjk
7008467506 Fixes: debugger: remove some dead code 2009-02-17 17:40:51 +01:00
hjk
8dd03e5f53 Fixes: debugger: don't run -file-list-exec-source-files too often 2009-02-17 17:40:46 +01:00
hjk
50d486685c Fixes: debugger: put error message into log if loading of dumpers
failed
2009-02-17 17:40:41 +01:00
hjk
ce652e8ffc Fixes: debugger: load modules list early
Details:  feels better
2009-02-17 17:40:35 +01:00
hjk
0565b3a7fe Fixes: debugger: start symbol is WinMainCRTStartup, not _start
sometimes...

Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:40:13 +01:00
hjk
3aa08efb75 Fixes: debugger: work on breakpoints in plugins 2009-02-17 17:39:29 +01:00
hjk
04626a3e2a Fixes: debugger: work on plugin breakpoints
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:39:20 +01:00
hjk
ab31640462 Fixes: debugger: work on more fine-grained breakpoints-in-plugins
setting
2009-02-17 17:38:52 +01:00
hjk
7ebfeb037b Fixes: debugger: introduce early break after application
initialization
2009-02-17 17:38:44 +01:00
hjk
1afd270da2 Fixes: debugger: move custom dumper initialization into the first
watch view update

Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:38:24 +01:00
hjk
153766b956 Fixes: debugger: revert accidental parts of b0650238
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:36:54 +01:00
hjk
433ded47d8 Fixes: correct path for gcbmnacros.cpp hint
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:34:41 +01:00
hjk
4f20ef9f4e Fixes: correct name for gdmacros.cpp hint
Conflicts:

	src/plugins/debugger/gdbengine.cpp
2009-02-17 17:34:10 +01:00
hjk
b37b181cb2 Fixes: debugger: on async output, first handle all cases where
the inferior exited.
    Details:  that catches early exits due to startup problems as well
2009-02-17 16:25:48 +01:00
hjk
a6152f518d Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline 2009-02-17 14:09:33 +01:00
hjk
d0e991dfa9 Fixes: add a view to see current source file mapping 2009-02-17 14:08:49 +01:00
Roberto Raggi
738c50726d Compile. 2009-02-17 11:25:44 +01:00
Roberto Raggi
f63b8e6693 --warnings 2009-02-16 18:56:35 +01:00