Commit Graph

245 Commits

Author SHA1 Message Date
hjk
c438c87281 debugger: cleanup gdb command queue when inferior setup failed 2010-08-11 10:03:11 +02:00
ck
5950aedf04 Debugger/GDB: Map remote to local source file names.
Necessary for debugging with a remote gdb (as opposed to gdbserver).

Reviewed-by: kh1
2010-08-09 15:28:39 +02:00
hjk
3ce543458c debugger: start attempt to handle dwarf index data 2010-07-22 16:53:24 +02:00
hjk
9cbbeec6c1 debugger: move convienience function to DebuggerEngine base class 2010-07-21 14:28:29 +02:00
hjk
56aff185a6 debugger: move progress handling to debugger engine base class 2010-07-21 11:03:19 +02:00
hjk
d9e445bbe8 debugger: re-enable snapshot creation using the menu action 2010-07-21 09:42:33 +02:00
ck
08bc6c0027 Maemo: Get rid of MaemoDebugRunControl.
Use Debugger::DebuggerRunControl directly instead of wrapping it
into another RunControl.

Reviewed-by: hjk
2010-07-15 17:01:31 +02:00
hjk
d6fc1193ed debugger: more linear state handling in core adapter 2010-07-15 14:54:43 +02:00
hjk
99fdaf06a2 debuygger: make snapshots using true parallel engines 2010-07-14 17:49:17 +02:00
Robert Loehning
3bf0789464 Compile fixes. 2010-07-14 17:49:17 +02:00
hjk
3eef8a43c0 debugger: more state work 2010-07-14 17:49:16 +02:00
hjk
e760700f0f debugger: overhaul "state machine"
This mainly allows for more precise shutdown and tightens the set
of allowed transitions.
2010-07-14 17:49:16 +02:00
hjk
9e7a456457 debugger: refactor startup logic 2010-07-14 17:49:16 +02:00
hjk
f8d96f09a6 debugger: rename startDebugger() to startEngine() 2010-07-08 13:48:09 +02:00
hjk
405f340e2b debugger: streamline communication between GdbEngine and the adapters 2010-07-08 12:41:53 +02:00
hjk
a59f45c576 debugger: try to improve tooltip handling
Still far from usable.
2010-07-07 17:32:50 +02:00
hjk
038d943f9a debugger: fix shutdown by pressing "[x]" in the output pane 2010-07-02 12:40:36 +02:00
hjk
6959a12211 debugger: fix 'run to line' with older versions of gdb 2010-06-30 14:40:04 +02:00
hjk
ebba27484c debugger: fix 'jump to line' with older versions of gdb 2010-06-30 14:40:04 +02:00
hjk
effc5abdd8 debugger: don't try to compute tooltip if it's not shown 2010-06-29 10:58:29 +02:00
hjk
27b96e55c4 fix typo 2010-06-28 14:55:19 +02:00
hjk
e7d6b28ead debugger: make creation of back traces as text work on Mac 2010-06-28 14:53:31 +02:00
Friedemann Kleint
beba423a16 Debugger[Trk]: Added TCF experimental adapter.
Added adapter to work with TCF over WLAN.
Factor out common code for Symbian from TrkAdapter.
Improve message logging in TrkGdbAdapter, some cleanup.
Added new TcfTrkGdbAdapter based on TcfTrkDevice
in symbianutils based on JSON, using QTcpSocket.
To be started via special @tcf@ argument.
Rubber-stamped-by: hjk
2010-06-25 15:06:30 +02:00
hjk
fadac8009c debugger: more breakpoint management related fixes 2010-06-22 15:37:27 +02:00
hjk
6a6cba5518 debugger: The DebuggerEngine refactoring.
This replaces the (de facto) singleton engines and data handlers by classes
that are instantiated per run. The DebuggerRunControl will now create an
object of (a class derived from) DebuggerEngine that contains all the relevant
"dynamic" data.

DebuggerManager is no more. The "singleton" bits are merged into DebuggerPlugin,
whereas the data bits went to DebuggerEngine.

There is no formal notion of a "current" DebuggerEngine. However, as there's
only one DebuggerEngine at a time that has its data models connected to the
view, there's still some "de facto" notion of a "current" engine. Calling
SomeModel::setData(int role, QVariant data) with custom role is used as the
primary dispatch mechanism from the views to the "current" data models
(and the engine, as all data models know their engine).
2010-06-22 10:59:57 +02:00
hjk
a4f412388d debugger: move m_inferiorPid from DebuggerManager to DebuggerRunControl 2010-06-15 12:51:18 +02:00
hjk
9f7e9dc0ae debugger: refactoring of output channeling 2010-06-14 18:22:09 +02:00
hjk
6ed9830971 debugger: move DebuggerRunControl *m_runControl into IDebuggerEngine.
Plan is to identify make identify an IDebuggerEngine incarnation with
a RunControl.
2010-06-14 17:24:13 +02:00
hjk
97edcb7977 debugger: start 'runcontrol-ification' of the debugger plugin.
This replaces most uses of DebuggerStartParameters by DebuggerRunControl
which is a simple RunControl with a DebuggerStartParameters member.

Plan is to move all global state to the run controls, and possibly
introduce specialized ones for core debugging etc.
2010-06-14 10:45:11 +02:00
hjk
098dd35134 debugger: check matching Qt versions of compiled dumpers and debuggee 2010-05-20 16:49:48 +02:00
hjk
c50dd85088 debugger: show return value of last function call in Locals and Watchers view
Works only with gdb/Python so far.
2010-05-19 12:00:56 +02:00
hjk
2f69bae63f debugger: gather more information on threads when easily available 2010-05-18 12:13:27 +02:00
hjk
01aabbda82 debugger: rename some breakpoint related functions 2010-05-10 15:39:41 +02:00
hjk
6c0b947ec1 debugger: first shot a implementing data watchpoints 2010-05-07 15:17:11 +02:00
hjk
68c0ee28e2 debugger: remove some #ifdef Q_OS_* 2010-05-05 17:07:08 +02:00
ck
0b8d8aaa53 Debugger: Move GdbEngine member out of #ifdef.
The assumption "Creator arch == Gdb arch" does not necessarily hold.

Reviewed-by: hjk
2010-05-05 17:02:32 +02:00
ck
ef7c5fae60 Debugger: Support running GDB over SSH.
Reviewed-by: hjk
2010-05-05 12:51:21 +02:00
hjk
15a595b429 debugger: refactor module/symbol view 2010-05-04 18:00:10 +02:00
hjk
24d1fbd15b debugger: support for per-thread breakpoints 2010-04-30 13:41:19 +02:00
hjk
6bb7b6176f debugger: add a cut-down version of the dumpers for python 2010-04-27 15:33:23 +02:00
hjk
9a8ac49c2c debugger: new files for WatchData; move potentially shared code to watchutils.cpp 2010-04-27 15:33:22 +02:00
hjk
ddecf8b05e debugger: prevent endless loop on strange disassembler results 2010-04-12 12:02:16 +02:00
hjk
0ea0977ca8 debugger: introduce a new category for commands that are always immediately executed
used for -exec-interrupt right now
2010-04-09 15:32:33 +02:00
hjk
d8cc842d49 debugger: let 'Reset Debugger' apply a bit more force 2010-04-09 15:32:33 +02:00
Friedemann Kleint
c6779be8b8 Debugger[Symbian]: Remove Symbian/trk options page. 2010-04-09 08:44:06 +02:00
Friedemann Kleint
da22181916 Debugger[gdb]: Introduce new control for gdb binaries.
Manage binaries as a map of binary-><toolchain number>.
Provide list widget and editing dialog with tooltip
showing the version. Save in settings as a flat list of
keys.
Acked-by: hjk
2010-04-08 16:55:25 +02:00
hjk
0ac8388847 debugger: fix some encoding issues, modify manual tests 2010-04-08 14:39:21 +02:00
hjk
c3afba0f0d debugger: add a context menu action to the stackview to create a full
backtrace in the main editor.

Useful for sending bug reports.
2010-03-30 17:26:52 +02:00
hjk
0f1b718359 debugger: move breakpoint marker to the line where the breakpoint will be
actually hit
2010-03-26 10:29:58 +01:00
hjk
744b0ef030 debugger: fine-tuning change of breakpoint conditions and ignore count 2010-03-25 13:33:38 +01:00