Commit Graph

21 Commits

Author SHA1 Message Date
Oswald Buddenhagen
4b0060c537 adapters don't need to set DebuggerNotReady state 2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
de9b4e8365 centralize setting of AdapterStarted state 2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
70f696d056 -gdb-exit has a special return code as well 2009-10-13 20:43:13 +02:00
Oswald Buddenhagen
b27093c07d fix state machine surrounding spontaneous stops 2009-10-13 20:43:13 +02:00
Oswald Buddenhagen
d1783e0974 fold preparing inferior into starting inferior
after refactoring the trk adapter startup, the split was not necessary
any more. in fact, it seemed fairly arbitrary at this point.
2009-10-13 20:43:12 +02:00
Oswald Buddenhagen
973f607e64 centralize entering the InferiorStartFailed state 2009-10-12 18:52:15 +02:00
Oswald Buddenhagen
a1a8f6adcb centralize gdb command result class checking
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.
2009-10-12 14:56:35 +02:00
Friedemann Kleint
b2924aa66b I18n: Tr()-fixes 2009-10-12 12:33:12 +02:00
Oswald Buddenhagen
cff3b9e0f1 centralize some code in AbstractGdbAdapter 2009-10-08 12:18:03 +02:00
Oswald Buddenhagen
51a22cbe7c centralize STRINGIFY definition 2009-10-08 12:18:02 +02:00
Oswald Buddenhagen
f42ad24dba remove dead code 2009-10-08 12:15:00 +02:00
Oswald Buddenhagen
2ec0bc9f6d remove useless code
--tty + outputcollector, working dir and environment setup make sense
only for living local debuggees.
2009-10-08 12:14:54 +02:00
Friedemann Kleint
81a8f2f927 Debugger: Improve adapter error handling
Correctly reset state on missing Symbian gdb.
Provide "settings" options.
Reviewed-by: hjk <qtc-committer@nokia.com>
2009-10-08 11:43:26 +02:00
hjk
163150e3e5 debugger: some state change fixes when shutting down in 'attach' mode 2009-09-30 12:51:54 +02:00
hjk
88a25204b3 debugger: fix attaching to running process 2009-09-29 17:12:54 +02:00
hjk
10fa3b2b76 debugger: remove inferiorStarted() signal.
It had unclear semantics and was only used to show a statusmessage.
We do that directly now.
2009-09-29 10:59:46 +02:00
Friedemann Kleint
ec7c77ca23 Debugger: Work towards exporting DebuggerManager: Introduce d.
Clean out header.
2009-09-25 15:02:16 +02:00
hjk
00f676708b debugger: work on handling gdb crashes gracefully 2009-09-25 11:50:39 +02:00
hjk
20b9258d9e debugger: refactoring
Intergrate per-engine state tracking with the global running/stopped state.
2009-09-25 08:36:44 +02:00
hjk
8f6aa2259e debugger: refactoring
rename GdbResultRecord into GdbResponse
merge cookie QVariant into GdbResponse
move debugMessage convienience function from individual adapters to base
2009-09-24 11:22:45 +02:00
hjk
378036c916 debugger: make attaching to running process work again 2009-09-23 15:28:50 +02:00