Commit Graph

108 Commits

Author SHA1 Message Date
Friedemann Kleint
e36d27d605 Gdb: Remove unused code. 2009-09-22 14:04:00 +02:00
hjk
6259789b8d debugger: compile/link fixes 2009-09-22 11:54:28 +02:00
hjk
e5f0807f8b debugger: refactoring of AbstractGdbAdapter
remove shutdownInferior()
rename shutdownAdapter() into shutdown()
remove errorString()
rename isAdapter() into isTrkAdapter()
2009-09-22 11:44:06 +02:00
hjk
252fd2e7b1 debugger: refactoring of AbstractGdbAdapter
remove shutdownInferior(), rename shutdownAdapter() into shutdown()
2009-09-22 11:32:34 +02:00
hjk
41caca2763 debugger: reorganize trk startup 2009-09-22 10:41:23 +02:00
hjk
efb02a30a0 debugger: rework plain gdb shutdown logic 2009-09-22 08:11:31 +02:00
hjk
1d64e169b0 debugger: rework startup logic 2009-09-22 08:11:30 +02:00
hjk
ae2cfdaa53 some cleanup 2009-09-22 08:11:30 +02:00
Friedemann Kleint
d499e95e1b Trk: Show options page only depending on environment variable. 2009-09-21 09:05:05 +02:00
Friedemann Kleint
603630fad6 Debugger: Use Gdbmi parser in CDB for parsing of protocol 1
Change dumper protocol 1 output not to contain type names as
hash keys (might contain blanks), use lists instead.
Start fixing autotests for 4.6.
2009-09-18 16:55:17 +02:00
Friedemann Kleint
5c8e6e9f7c Trk: Make it run on Windows.
Add options page with overrideable device. Correct
wiring of the rfcomm process.
2009-09-18 12:51:15 +02:00
hjk
634e4e5485 debugger: cleanup 2009-09-17 16:22:30 +02:00
hjk
e642b0b1b6 debugger: work on startup 2009-09-17 16:22:29 +02:00
hjk
dd7ee74972 debugger: fix omission of reading register 0 in the symbian case 2009-09-17 10:53:44 +02:00
hjk
daf4c32f32 debugger: work on trk exit/restart 2009-09-16 14:12:40 +02:00
hjk
33271f0be7 debugger: disable some debug output again; also make more type known as 'simple
integral'
2009-09-16 14:12:40 +02:00
hjk
b96b2a2b3a debugger: add some possible explanation for the need to ask for stacktraces twice 2009-09-16 14:12:40 +02:00
hjk
61eadde63f trk: work around stack trace problems
Asking gdb twice seems to work.
2009-09-16 11:10:59 +02:00
hjk
91e60257cd debugger: special handling for Symbian TInt and TBool.
We know they don't have nested contents
2009-09-16 11:10:59 +02:00
hjk
7cfac4da3f debugger: work around listing of short stacks for old gdbs (apple + symbian) 2009-09-15 16:02:26 +02:00
hjk
55bcce4684 debugger: prevent gdb from asking too many question for which we don't have answers
So far TRK does not show values for fp registers.
2009-09-15 15:36:32 +02:00
hjk
22904c5c89 debugger: improve setting of initial breakpoints in the trk case 2009-09-15 15:33:52 +02:00
con
1703c8c18b Gdb engine couldn't start executable with space in it.
Reviewed-by: hjk
2009-09-15 15:25:54 +02:00
hjk
1be85e1af5 debugger: remove unneeded code, reformat 2009-09-15 12:16:45 +02:00
hjk
e3f47cbf94 debugger: fix recent regression in startup logic 2009-09-15 12:16:21 +02:00
hjk
d9cf3a8714 debugger: more trk/gdbengine refactoring 2009-09-15 11:39:54 +02:00
hjk
40d54a84dc debugger: work on trk integration 2009-09-14 09:46:50 +02:00
hjk
491a747ebb debugger: refactoring
rename GdbProcessBase into AbstractGdbAdapter
rename SymbianAdapter into TrkGdbAdapter
rename GdbProcess into PlainGdbAdapter
2009-09-11 15:54:01 +02:00
hjk
5077794f54 debugger: merge symbianengine into gdbengine 2009-09-11 15:54:01 +02:00
hjk
8213e5bda7 debugger: work on trk.
Something's visible in Locals&Watchers now!
2009-09-11 13:05:37 +02:00
hjk
17f9204bba debugger: refactoring in the gdbengine 2009-09-11 12:31:07 +02:00
hjk
6a9886576f debugger: small refactoring in the gdbengine startup 2009-09-11 09:51:33 +02:00
hjk
648ceaed18 debugger: work on trk integration 2009-09-10 16:30:04 +02:00
hjk
058b55adc5 debugger: work on trk integration 2009-09-10 13:14:51 +02:00
hjk
1614d6b6b8 debugger: small refactoring of the access to the gdb process in the gdbengine
That's the first step to make the gdb/trk Adapter work with the otherwise
unmodified gdb engine. GdbProcessBase is inherited by GdbProcess and the
gdb/trk Adapter. In the GdbProcess case it's just a wrapper around a QProcess
running gdb, in the Adapter case it's the interface to the gdb process in the
whole rfomm/gdb/gdbserver combo.
2009-09-09 12:41:26 +02:00
hjk
452f108ac7 debugger: fixes and improvements related to the Locals display
Split the concepts 'enabled' and 'editable' in the dumper output
Disable "<not in scope>" entries, also fix their type.
Fix glitch in type beautification for display
Find reason for failing bulk updates.
2009-08-31 16:05:55 +02:00
hjk
7cd8ba8af4 debugger: disable bulk updates 2009-08-28 17:32:04 +02:00
hjk
27382f753c debuger: fix insertion of nested WatchData 2009-08-28 15:56:58 +02:00
hjk
75ade29466 debugger: allow dumpers to return children in more than one nesting level 2009-08-28 14:34:56 +02:00
hjk
9a5908bf8c debugger: small improvements to dumpers
Add a dumper for QStack. Also don't crash when accessing an uninitialized
pointer when the pointer looks bad to begin with.
2009-08-28 10:42:55 +02:00
hjk
9af1a0a793 debugger: partial revert of 894febba to fix QStringList display
There was a case where "childtype" had to be used instead of "type".
2009-08-25 17:36:31 +02:00
con
11e65c1bbd Threads are supported on Mac.
Reviewed-by: hjk
2009-08-24 14:15:38 +02:00
hjk
698b5ff253 debugger: avoid endless loop created by dumpers that crash before outputting
the child list.
2009-08-21 08:13:54 +02:00
hjk
bfc49c0e38 remove stringbuilder autotests
It was merged to Qt master a while ago.
2009-08-20 09:32:11 +02:00
hjk
f8300260ea debugger: do not show a dialog for SIGTRAP as this happens too often
when stopping debugging.
2009-08-18 16:47:02 +02:00
hjk
7ab3981b6b debugger: fix wrong access to the disassembler agent in the non-mixed case 2009-08-18 16:47:02 +02:00
hjk
39e1113707 debugger: add a simple syntax highlighter for disassembler output 2009-08-18 16:47:01 +02:00
hjk
1e7cee620b debugger: make register contents editable (gdb only for now) 2009-08-18 08:37:53 +02:00
hjk
432ad0bfbc debugger: register view and disassembler window cosmetics 2009-08-17 14:24:33 +02:00
hjk
9febb0bcb8 debugger: remove old disassembler view and handler
It is replaced by a real editor in e82d6c7b0.
2009-08-17 13:34:15 +02:00