Commit Graph

254 Commits

Author SHA1 Message Date
hjk
a5b7f7d3c5 debugger: fix testArray() test case 2010-03-05 09:48:19 +01:00
hjk
599f459e19 debugger: partial fix for new QObject dumper 2010-03-04 16:01:24 +01:00
hjk
7937c292a1 debugger: fix display of pointer values in new dumpers 2010-03-02 09:44:36 +01:00
hjk
73ef5e33ea debugger: properly display function pointers with python 2010-03-01 10:28:34 +01:00
hjk
ac7b18e8b0 debugger: show structure of nested anonymous structs and unions properly 2010-02-25 14:31:14 +01:00
hjk
f65be39a5d debugger: sometimes a gdb.Value does not seem to have an address
Happens e.g. in gdb sources itself: cp_canonicalize_string in cp-support.c
2010-02-17 17:08:02 +01:00
hjk
e3e6797fe5 debugger: fix display and editing of nested anonymous structures 2010-02-15 17:02:08 +01:00
hjk
47fa65be6c debugger: some basic support for 'catch catch' and 'catch throw'
Hidden in the Breakpoints context menu.
2010-02-11 17:46:05 +01:00
hjk
a2c8394088 debugger: fix assignment to array members 2010-02-11 14:36:27 +01:00
hjk
25f0bd7cb7 debugger: remove wrong dumper output file redirection 2010-02-11 10:52:26 +01:00
hjk
5526e5b207 debugger: simplify dumper code 2010-02-11 10:52:26 +01:00
hjk
27fa4c0440 debugger: distinguish between "step into" and "step over" in TrkAdapter. 2010-02-05 16:00:54 +01:00
hjk
4cba453a1e debugger: let python handle the listing of breakpoints
TODO: only transfer deltas
2010-02-05 15:23:44 +01:00
hjk
0c05c042db debugger: fix new QHashNode dumper 2010-02-04 12:12:27 +01:00
hjk
b35a4096c6 debugger: start using TRK's 'multi instruction step' facility 2010-02-04 09:57:38 +01:00
Friedemann Kleint
40f0d4d7c3 Debuggers: Enable Python-dumpers for Windows-built gdb.
Engine: Introduce convention of setting the PYTHONPATH
variable to <path-to-gdb>\python2.5 for WIndows.

Dumpers: Import 'curses' depending on platform, fix Syntax
for 2.5, catch file lock errors by os.remove.
Reviewed-by: hjk
2010-02-03 16:52:37 +01:00
Friedemann Kleint
2fd8b2d7ff Fix some code scanning issues.
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
hjk
d00fba8e2b debugger: work around 'optimized out' function parameters 2010-01-29 15:48:17 +01:00
hjk
f64c5e342a debugger: fix after disabling listing breakpoints in the python part 2010-01-21 17:19:09 +01:00
hjk
ba877b6369 debugger: prepare for outputting breakpoints from the dumpers 2010-01-21 17:19:08 +01:00
hjk
898e84ceff debugger: add dumper for TLitC<N>, fix encodign for TBuf 2010-01-15 16:54:46 +01:00
hjk
8510d887b8 debugger: dumper for TBuf<N> 2010-01-15 15:06:40 +01:00
hjk
dd118df7cb debugger: workaround failing 'info locals' on gdb 6.8-symbianelf 2010-01-15 11:38:20 +01:00
hjk
73ee2610fe debugger: more robust QDateTime and QFileInfo dumper for gdb versions without
call()
2010-01-12 10:53:30 +01:00
hjk
336dc4e53b debugger: fix reporting of "no locals" 2010-01-12 10:53:30 +01:00
hjk
e162f18e81 debugger: fail gracefully when trying to extract the Qt namespace in non-Qt
applications
2010-01-12 10:53:30 +01:00
hjk
9052bd279f debugger: fix editor tooltips for new dumpers 2010-01-08 18:17:02 +01:00
hjk
68ed29b3b4 debugger: make watchers work with gdb 7.0 and 7.0.1
gdb 7.0 will still be considered unsupported due to the division-by-zero crash
2010-01-08 11:04:13 +01:00
hjk
a8c6b06a16 debugger: new dumper for QAtomicInt 2010-01-07 16:25:18 +01:00
hjk
749beeeb45 debugger: gracefully handle optimized out values 2010-01-07 16:25:18 +01:00
hjk
3a3b289f9f debugger: add new dumper for QBasicAtomicInt 2010-01-07 16:25:18 +01:00
hjk
a196317ce0 debugger: support anonymous unions in new dumpers 2010-01-07 14:41:37 +01:00
hjk
6634fe4757 debugger: fix a few glitches with char* related "clever" output from gdb 2010-01-07 14:41:37 +01:00
hjk
cf010f764a debugger: fix the last two commits 2010-01-06 18:01:19 +01:00
hjk
0afaf1f2f1 debugger: work around spurious additions to gdb.Value.address 2010-01-06 17:01:16 +01:00
hjk
d3d4a4d65b debugger: constant simple types are also simple 2010-01-06 16:17:27 +01:00
hjk
e5abb34db3 debugger: fix watchers containing '$' (references to registers) 2010-01-06 12:53:37 +01:00
hjk
2c5a0387e8 debugger: work around http://sourceware.org/bugzilla/show_bug.cgi?id=11135 2010-01-05 18:13:23 +01:00
hjk
baa955d5ad debugger: make python frame output 'Discardable' 2010-01-05 16:48:12 +01:00
hjk
11a300dd92 debugger: refactor passing of options to new dumpers 2010-01-05 16:48:11 +01:00
hjk
2a28741f90 debugger: str(p) is unsafe to use for invalid char * 2010-01-05 16:48:11 +01:00
hjk
46c114e895 debugger: assume valid ref counts are always smaller than 1 million 2010-01-04 14:14:14 +01:00
hjk
b0fb396dc9 debugger: don't issue 'name' field twice for watched items 2010-01-04 13:48:44 +01:00
hjk
9ad447b8a4 debugger: make gdb-6.8-symbianelf work 2010-01-04 13:16:46 +01:00
hjk
7fed0f0626 debugger: introduce optional 'max children' argument to Dumper.beginChildren
saves a few lines in the dumper implementations for the 'putEllipses' logic.
2009-12-15 09:39:22 +01:00
hjk
66db60e0fe debugger: replace xrange(0, end) by xrange(end). 2009-12-11 13:25:30 +01:00
hjk
68bd4d2b95 debugger: refactor the dumper class to make it work with gdb 7.0
This is an attempt to make it work with released gdb 7.0. It uses some
ugly workarounds to compensate for the missing gdb.Block and gdb.Symbol
structures.
2009-12-09 13:51:17 +01:00
hjk
d92f8b80ca debugger: work on QImage dumper 2009-12-08 17:46:53 +01:00