Commit Graph

178 Commits

Author SHA1 Message Date
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
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