Commit Graph

161 Commits

Author SHA1 Message Date
hjk
babe027d9f debugger: update registers when switching stack frames 2009-10-06 10:17:51 +02:00
hjk
5e7a26d863 debugger: rework fetching of memory from device
still a few cases for chunked fetching missing
2009-10-06 10:17:51 +02:00
hjk
13212eef14 debugger: work around Apple gdb-1344 problem 2009-10-05 12:06:29 +02:00
hjk
75529d87d3 debugger: rework 'jump to source' logic 2009-10-05 12:01:23 +02:00
hjk
d22438e9bd debugger: add some debug output when disassembler view fails to retrieve the
base address
2009-10-05 09:19:03 +02:00
hjk
5ab3be8cc4 debugger: handle failure of -exec-step gracefully if debug information is
missing.
2009-10-05 08:56:02 +02:00
hjk
5a73440b18 debugger: fix gotoLocation() on Mac
Mac's "stopped" message does not come with location data.
2009-10-02 14:32:44 +02:00
hjk
7e005752a7 debugger: code cosmetics 2009-10-02 14:32:43 +02:00
hjk
99bdc54199 debugger: small tweaks to gotoLocation() 2009-10-02 12:31:59 +02:00
hjk
a8430f3382 debugger: fix chain of fallbacks for disassembler view.
Use non-mixed mode if source is not available.
2009-10-02 12:31:59 +02:00
hjk
aff42fec75 debugger: re-enable "data drill down on mouse hover" 2009-10-01 18:01:53 +02:00
hjk
9ed075c60c debugger: fix trk argument-passing hack 2009-10-01 17:09:32 +02:00
hjk
21f0f2c900 debugger: work on location marker setting. 2009-10-01 17:03:56 +02:00
hjk
df22ae6c53 debugger: replace hack to select trk adapter and pass parameters by a new one
Now .pro files can be used as project description as usual. To make the
debugger pick up the "on device" part a magic commandline is needed:
"@sym@ c:\sys\bin\your.exe  /path/to/your.sym"

If the project is not compilable, remove the Make and QMake buildsteps
and add a new Custom step that's only calling /bin/true.
2009-10-01 14:57:04 +02:00
hjk
8b583a3872 debugger: unconditionally use 'gotoLocation' on first chance 2009-10-01 13:46:48 +02:00
hjk
53f692c575 debugger: parse 'at' field in -break-info output as seen with gdb 6.4 2009-10-01 12:06:43 +02:00
hjk
3b280a3ad3 debugger: fix 'Detach debugger' action 2009-09-30 13:07:14 +02:00
hjk
93902e5d0a debugger: make 'qtcreator -debug <corefile>' work 2009-09-30 12:27:44 +02:00
ck
e43d0efa30 Gdb engine: Fixed error message.
Reviewed-by: hjk
2009-09-30 11:54:34 +02:00
hjk
2548ca0695 debugger: don't use gotoLocation() unnecessarily twice 2009-09-29 16:32:54 +02:00
hjk
1bd7163558 debugger: cache disassembler results per-function. 2009-09-29 16:32:54 +02:00
hjk
524604fe35 debugger: always try to set the location marker early
Gives a smoother impression.
2009-09-29 16:32:53 +02:00
hjk
49b6498870 debugger: remove some unused code 2009-09-29 14:47:27 +02:00
hjk
9157f12ed2 debugger: fix pid parsing from gdb output on Mac 2009-09-29 14:47:27 +02:00
hjk
17c928f970 debugger: introduce a new state InferiorUnrunnable to properly describe the
state when gdb is attached to a core.
2009-09-29 14:47:27 +02:00
hjk
573ca3ad85 debugger: rename StepByInstruction into OperateByInstruction 2009-09-29 14:47:27 +02:00
Friedemann Kleint
c3bb032753 Trk/S60: Wire debugger parameters.
Remove conditionals from toolchain enumeration, pass parameters to
TrkGdbAdapter, rename function in runconfig, derive symbol
file from local exe file.
2009-09-29 13:49:35 +02:00
hjk
10fa3b2b76 debugger: remove inferiorStarted() signal.
It had unclear semantics and was only used to show a statusmessage.
We do that directly now.
2009-09-29 10:59:46 +02:00
hjk
b944e1eb14 debugger: load the gdb macro based dumpers only once per session. 2009-09-29 09:35:04 +02:00
hjk
ef37f7f1e5 debugger: improve presentation of some error/status messages 2009-09-29 09:35:04 +02:00
hjk
bc15777ee1 debugger: retrieve InferiorRunning state from gdb output, not from business logic 2009-09-29 09:35:04 +02:00
hjk
0155f11cd8 debugger: fix regression in disassembler listing introduced in 37c98f89 2009-09-28 09:52:49 +02:00
hjk
ca47f5d1b8 debugger: don't complain on Running->Stopped state changes when not directly
triggered by the user
2009-09-28 09:49:58 +02:00
hjk
bb1ebd0998 debugger: handle error triggered by "-exec-finish" triggered in the outermost
frame
2009-09-28 09:49:58 +02:00
Friedemann Kleint
ec7c77ca23 Debugger: Work towards exporting DebuggerManager: Introduce d.
Clean out header.
2009-09-25 15:02:16 +02:00
hjk
00f676708b debugger: work on handling gdb crashes gracefully 2009-09-25 11:50:39 +02:00
hjk
20b9258d9e debugger: refactoring
Intergrate per-engine state tracking with the global running/stopped state.
2009-09-25 08:36:44 +02:00
hjk
d5f1035770 debugger: refactoring
Move GdbAdapterState from individual adapters to GdbEngine.
Also, remove some trailing whitespace.
2009-09-24 11:46:38 +02:00
hjk
8f6aa2259e debugger: refactoring
rename GdbResultRecord into GdbResponse
merge cookie QVariant into GdbResponse
move debugMessage convienience function from individual adapters to base
2009-09-24 11:22:45 +02:00
hjk
063d13e00f debugger: work on general shutdown handling 2009-09-24 10:54:50 +02:00
hjk
f6104255d7 debugger: revert accidentally committed "tbreak+continue instead of next" hack 2009-09-23 16:42:57 +02:00
hjk
b18c6f5d55 debugger: remove unneded code 2009-09-23 16:42:47 +02:00
hjk
b65bbff491 debugger: split connectDebuggingHelperActions(bool) into connect* and disconnect* 2009-09-23 15:32:22 +02:00
hjk
378036c916 debugger: make attaching to running process work again 2009-09-23 15:28:50 +02:00
hjk
d24752a765 debugger: remove more dead code 2009-09-23 14:00:56 +02:00
hjk
c71e3e958e debugger: clean up old commented code 2009-09-23 14:00:56 +02:00
hjk
713b1f2034 debugger: re-activate core file debugging 2009-09-23 13:38:33 +02:00
hjk
76d1de0b87 debugger: parse pid only once from output 2009-09-23 12:15:51 +02:00
Friedemann Kleint
3215da914e Gdb: Parse out MinGW gdb process id correctly, connect dumper acts. 2009-09-23 12:04:25 +02:00
hjk
d25066f8ad debugger: let the gdb adapters access the engines start parameter instead of keeping a copy 2009-09-23 10:14:53 +02:00