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
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
Oswald Buddenhagen
75b42f18d8
Merge remote branch 'origin/1.3'
...
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +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
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
749beeeb45
debugger: gracefully handle optimized out values
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
4794cbf030
debugger: rename 'magic' prefix for custom dumper from qqDump to qdump__
...
It is nicer in the presence of namespaces as '::' will be replaced by '__'
to create the dumper function names.
2009-12-07 12:07:10 +01:00
hjk
d2ab8762e9
debugger: special handling of char *argv[] in l&w
...
It's nicer this way.
2009-12-07 11:28:47 +01:00
hjk
b08a349da9
debugger: allow user defines ranges of watch items
2009-12-04 18:16:16 +01:00
hjk
ecb0df0cb5
debugger: work on "watchers" for use with new dumpers
2009-12-04 17:08:35 +01:00
hjk
ef9db9cf79
debugger: make 'watch' item work with new dumpers
2009-12-04 13:22:59 +01:00
hjk
f2842d07d5
debugger: fix new dumpers in the context of base class types containing
...
spaces in its string representation
2009-12-04 13:22:59 +01:00
hjk
71c3d0977b
debugger: try make custom dumpers more "user friendly"
...
Introduce Dumper.put{Value,Name,StringValue,ByteArrayValue} functions.
No need for explicit specification of valueencoding in user code.
2009-12-03 14:12:54 +01:00
hjk
534d91859f
debugger: auto-deref all pointers when new dumpers
2009-12-03 14:00:01 +01:00
hjk
7c5c69f6ac
debugger: various changes to new dumper
...
- add an 'informative' mode, similar to old dumper's 'protocol 1'
- remove some hard coded names for std container dumpers
- use safePutItemHelper instead of putItemHelper in most places
2009-12-03 14:00:01 +01:00
hjk
fdbecf93c0
debugger: remove some hard coded typenames for std container dumpers to "user land"
2009-12-02 14:12:12 +01:00
hjk
4e29b16f92
debugger: work on new dumpers
...
more robustness in case qt's namespace cannot be determined
work on qvariant dumper
2009-12-01 17:11:20 +01:00