hjk
59af793953
debugger: polish address display. also remove the mostly unused 'stored' address
2010-03-23 14:48:32 +01:00
hjk
61ff757b60
debugger: start using a progress bar.
2010-03-23 11:16:35 +01:00
hjk
a47fa969cd
debugger: speed up QImage dumper
2010-03-15 14:56:55 +01:00
hjk
463ac5d689
debugger: start reviving graphical data display
2010-03-15 12:12:43 +01:00
hjk
3066162eb4
debugger: avoid a few watchmodel rebuilds, also reset location markers properly
2010-03-10 17:39:42 +01:00
hjk
c0a8fbe9ff
debugger: rename a few functions
2010-03-10 16:17:40 +01:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
hjk
8328896c17
debugger: revive the fallback to CLI when gdb/MI refuses to set pending
...
breakpoints.
Seems to be needed for "GNU gdb (GDB) SUSE (6.8.91.20090930-2.4)"
2010-03-04 15:43:01 +01:00
hjk
172a1ae492
debugger: sanitize breakpoint setting sequences
2010-03-03 18:10:21 +01:00
hjk
839ad4dae7
debugger: rename some watch-update related variables to prepare a similar
...
mechanism for breakpoints.
2010-03-03 18:10:17 +01:00
ck
d87d7694bc
BinEditor/MemoryView: Follow pointers, potentially in new window.
...
Reviewed-by: hjk
2010-02-17 17:41:09 +01:00
hjk
c6e88eec0e
debugger: implement basic support for gdb's 'return' command
...
Returning a value is not yet supported.
2010-02-15 17:02:07 +01:00
hjk
a2c8394088
debugger: fix assignment to array members
2010-02-11 14:36:27 +01:00
hjk
f9b6832edf
debugger: code cosmetics
2010-02-11 14:36:26 +01:00
hjk
7766646b11
debugger: use gdb/cli for disassembler output.
2010-02-11 10:52:25 +01:00
hjk
9f7966d344
debugger: rename gdb{In,Out}putAvailable to showDebugger{In,Out}put
2010-02-11 10:52:24 +01:00
Friedemann Kleint
b6c7c597c2
Debugger: Introduce engine capability flags to enable actions correctly.
...
Reviewed-by: hjk
2010-02-05 10:23:55 +01:00
hjk
18445dc9c6
debugger: make handling multiple core files a bit more convenient
2010-02-03 08:37:48 +01:00
hjk
ecd475c903
debugger: fall back to instructionwise stepping when debuginfo for frame is
...
missing
2010-02-01 17:01:51 +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
1c5c6e8723
debugger: more python/non-python splitting
2010-01-21 17:19:09 +01:00
hjk
ffd48ebd4c
debugger: remove injection loading.
...
Was used only on Windows, and we have ther python now.
2010-01-21 17:19:09 +01:00
hjk
cdae30ccdb
debugger: start splitting off python and non-python specific bits
2010-01-21 17:19:08 +01:00
hjk
dd118df7cb
debugger: workaround failing 'info locals' on gdb 6.8-symbianelf
2010-01-15 11:38:20 +01:00
Tobias Hunger
592e494d1a
Fix typos
...
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
con
db68ca5b8d
debugger: gracefully handle commands that might not produce output
...
(cherry picked from commit 1324a1c600 )
Conflicts:
src/plugins/debugger/gdb/gdbengine.cpp
src/plugins/debugger/gdb/gdbengine.h
2010-01-06 15:57:10 +01:00
con
0de840cb43
debugger: make watchdog timeout configurable
...
(cherry picked from commit bf077800b8 )
Conflicts:
src/plugins/debugger/debuggerplugin.cpp
src/plugins/debugger/gdb/gdboptionspage.ui
2010-01-06 15:57:10 +01:00
hjk
ca637fdc33
debugger: make use of full source file list optional
...
(cherry picked from commit 8c52f5720c )
2010-01-06 15:57:10 +01:00
hjk
e3712f9687
debugger: refactoring, use QByteArray instead of QString when appropriate
2010-01-05 18:13:24 +01:00
hjk
9ad447b8a4
debugger: make gdb-6.8-symbianelf work
2010-01-04 13:16:46 +01:00
hjk
1324a1c600
debugger: gracefully handle commands that might not produce output
2009-12-11 18:00:37 +01:00
hjk
2548779d1f
debugger: Remove EmbedToken fglag for gdb commands.
...
The token is not needed anymore.
2009-12-11 18:00:36 +01:00
hjk
bf077800b8
debugger: make watchdog timeout configurable
2009-12-09 17:41:59 +01:00
hjk
8c52f5720c
debugger: make use of full source file list optional
2009-12-09 13:52:12 +01:00
hjk
f2392ffbc0
debugger: allow the user to hide the std:: and Qt's namespace
2009-11-25 13:46:33 +01:00
Oswald Buddenhagen
5976b1ba43
actively try to obtain PID of non-pthread inferiors with gdb < 7 on linux
...
Reviewed-by: hjk
2009-11-10 13:02:33 +01:00
Oswald Buddenhagen
0ae60ba412
add timeout handling for gdb commands
...
sometimes, commands simply don't return ...
the debug message doesn't say anything which couldn't be found in the
log already, but that way it is more convenient.
and we kill gdb to get creator back to a defined state.
Reviewed-by: hjk
2009-11-03 18:20:43 +01:00
Friedemann Kleint
10e07e01c7
Debugger: Use LD_PRELOAD to load debugging helper.
...
on UNIX. Either set the LD_PRELOAD environment variable
using a gdb command or have the TermGdbAdapter set the
variable for the debuggee. For the remote adapter,
switch on toolchain. dlopen() is a fallback for
platforms where it is not supported and attaching
to running processes. Fixes a crash with gdb 7.0
(and spurious gdb 6.8 crashes with dlopen()).
Reviewed-by: hjk <qtc-committer@nokia.com >
2009-11-03 14:06:21 +01:00
Oswald Buddenhagen
a4f2396323
fix shutdowns triggered while inferior is not stopped
...
Reviewed-by: hjk
2009-11-02 17:13:47 +01:00
Oswald Buddenhagen
e2d468312c
flush queued commands on non-fatal continuation failures
...
Reviewed-By: hjk
2009-11-02 17:13:46 +01:00
Oswald Buddenhagen
151b785d01
terminal adapter: make skipping of initial SIGSTOPs more reliable
...
first, _start being resolvable depends on libc-dbg being installed.
second, depending on the frame being in the dynloader makes it
a) work only for dynamic executables and b) fail on multi-target
systems (due to a hard-coded file name).
so instead just remember the entry point, as we are already there
anyway.
Reviewed-By: hjk
2009-10-30 17:47:51 +01:00
hjk
50961cb98d
debugger: list registers only after we have a known target
2009-10-30 16:46:33 +01:00
Oswald Buddenhagen
7713fc514b
do not post source & module list query commands too early
...
if the respective view is enabled, the manager will request the
initial update in some unholy state, probably AdapterStarting -
when gdb isn't up yet.
2009-10-29 15:34:01 +01:00
Oswald Buddenhagen
658f439398
missed some functions while marking iface impls with virtual
2009-10-29 15:34:00 +01:00
Oswald Buddenhagen
0c0925b69c
couple breakpoint listing with source listing
...
the assumption is that pending breakpoints will only be resolved when
the source list changes. consequently it is pointless to update just
one of them.
2009-10-29 15:34:00 +01:00
Oswald Buddenhagen
eee5e4b18b
integrate handleStop2 into handleStop1
...
there seems to be no reason for delaying the display because
of -break-list
2009-10-29 15:34:00 +01:00
Oswald Buddenhagen
76b2f9f28e
make sure that symgdb 6.4 "fullnames" are fully normalized
2009-10-29 15:34:00 +01:00
Oswald Buddenhagen
0ee09af63a
eliminate handleDebuggingHelperValue1()
...
doesn't seem to serve any purpose at this time.
2009-10-27 20:21:59 +01:00
Oswald Buddenhagen
9b4e6512e0
protect against recursing into handleResponse
...
those pesky nested event loops ...
i pondered various other scenarios (in particular, the adapter or
gdb crashing while the nested loop is running), but did not discover
serious side effects of it, so i'm not trying to handle it specially.
2009-10-27 20:21:59 +01:00
hjk
05e56fc1a3
debugger: prevent endless recursion due to broken dumpers
2009-10-27 16:36:23 +01:00