- 03 Nov, 2009 2 commits
-
-
Oswald Buddenhagen authored
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
-
Friedemann Kleint authored
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>
-
- 02 Nov, 2009 2 commits
-
-
Oswald Buddenhagen authored
Reviewed-by: hjk
-
Oswald Buddenhagen authored
Reviewed-By: hjk
-
- 30 Oct, 2009 2 commits
-
-
Oswald Buddenhagen authored
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
-
hjk authored
-
- 29 Oct, 2009 5 commits
-
-
Oswald Buddenhagen authored
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.
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
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.
-
Oswald Buddenhagen authored
there seems to be no reason for delaying the display because of -break-list
-
Oswald Buddenhagen authored
-
- 27 Oct, 2009 3 commits
-
-
Oswald Buddenhagen authored
doesn't seem to serve any purpose at this time.
-
Oswald Buddenhagen authored
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.
-
hjk authored
-
- 26 Oct, 2009 1 commit
-
-
Friedemann Kleint authored
- Remove old rfcomm process handler from TrkGdbAdapter, use Bluetooth starter instead - Synchronous connection, remove waitForTrkConnect() - Move gdb start into Trk version answer, pass on settings id hint - Prevent exit crash triggered by signal gdbProcessFinished() - Set DebuggerNotReady correctly on AdapterStartFailed when no gdb is started yet
-
- 23 Oct, 2009 3 commits
-
-
Oswald Buddenhagen authored
first, try harder to have an up-to-date sources list. then, use the mapping whenever applicable and available.
-
Oswald Buddenhagen authored
*in theory*, there is no way we could at any point know more than gdb knows and tells us about full path names. let's see what practice shows for the gdbs we support ...
-
Oswald Buddenhagen authored
-
- 22 Oct, 2009 1 commit
-
-
Oswald Buddenhagen authored
in theory, we should support fsf gdb on apple now. this also cleans and documents some execution paths.
-
- 20 Oct, 2009 5 commits
-
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
as it turns out, it is not possible to set pending breakpoints until gdb has loaded as image. so add some hooks to enable adapters to trigger the initial breakpoint syncing at the right time. do not add additional states (say, InferiorPreparing), as it would just complicate things.
-
Oswald Buddenhagen authored
this includes: - move the gdb ownership back to the engine (thus strip down the adaptors as far as possible) - make gdb startup synchronous - make adapter shutdown synchronous - fix the state transitions relating to shutdown
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
-
- 16 Oct, 2009 1 commit
-
-
Friedemann Kleint authored
This should save debugger round trips and crashes in the debugging helpers. Add respective option to debugging helper option page, defaulting to true.On this occasion, make CDB detect shadowed variables correctly and display them as "<shadowed n>" as does the Gdb engine by reversing the direction in which CdbSymbolGroupContext::populateINameIndexMap works. Rubber-stamped-by:
hjk <qtc-committer@nokia.com>
-
- 14 Oct, 2009 1 commit
-
-
hjk authored
-
- 13 Oct, 2009 4 commits
-
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
after refactoring the trk adapter startup, the split was not necessary any more. in fact, it seemed fairly arbitrary at this point.
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
it is currently unused. do not just remove it, as hjk says he wants to revive it.
-
- 12 Oct, 2009 3 commits
-
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
each command can have only one of two legitimate responses: "error" or - depending on the command, and thus declared via a flag - "done" or "running". this is way nicer than sprinkling the code with else-ifs (where elses are sufficient) and asserts all over the place - and silently failing in release builds.
-
hjk authored
For the case that gdb can give all the interesting data in one go.
-
- 09 Oct, 2009 5 commits
-
-
Oswald Buddenhagen authored
this drastically improves the usefulness of the debugger output window by making internal and external messages appear in sync.
-
Oswald Buddenhagen authored
fixes build
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
-
Oswald Buddenhagen authored
-
- 08 Oct, 2009 2 commits
-
-
Friedemann Kleint authored
Add a configuration checking method to the Debugger manager, depending on toolchain, wire it to the engines. Check that in the debugger run controls. Add a convenience method to ICore that shows a warning message with a "Settings" button, pointing the user to a configuration error on a settings page. Remove leftovers of the dumper parser. Acked-by:
con <qtc-committer@nokia.com>
-
Oswald Buddenhagen authored
-