hjk
85b39966bc
debugger: combine memory blocks more aggressively
2010-01-15 15:06:40 +01:00
hjk
1b77161e71
debugger: clean up verbosity settings in trk adapter
2010-01-15 12:07:45 +01:00
hjk
ed82a0c3ab
debugger: reinstate 'continue if step fails' fallback in the trk adapter
2010-01-15 11:38:25 +01:00
hjk
d5c9192c6b
debugger: several small fixes for new gdb in trkadapter
2010-01-13 15:20:22 +01:00
hjk
1bd707ca87
debugger: invalidate current snapshot state whenever trk reports a stop
2010-01-13 15:20:21 +01:00
hjk
c8a992bf90
debugger: properly handle breakpoints above 2<<31 in the trk adapter
...
Also: re-enable 'Step over' fallback, report error for failed breakpoints
2010-01-13 15:20:21 +01:00
hjk
87d13230c1
debugger: disable 'continue' as woraround for failing 'step'
2010-01-12 10:53:30 +01:00
hjk
9ac4a4e652
debugger: fix combining memory chunk in trkadapter
2010-01-12 10:53:30 +01:00
Tobias Hunger
592e494d1a
Fix typos
...
Reviewed-by: thorbjorn
2010-01-11 10:26:13 +01:00
hjk
e3712f9687
debugger: refactoring, use QByteArray instead of QString when appropriate
2010-01-05 18:13:24 +01:00
con
7185e42b25
Merge remote branch 'origin/1.3'
2010-01-05 10:58:06 +01:00
Oswald Buddenhagen
5fd1e3c454
properly decode messages from gdb
...
... using fromLocal8Bit instead of fromLatin1.
of course the localized messages pose a "challenge" for the various
workarounds which parse them ...
Task-number: QTCREATORBUG-504
2010-01-04 14:12:28 +01:00
hjk
9ad447b8a4
debugger: make gdb-6.8-symbianelf work
2010-01-04 13:16:46 +01:00
Friedemann Kleint
b519a1132a
Debugger: Activate code model scope checking, environment var for Trk verbosity.
...
Reviewed-by: hjk
2009-11-09 16:25:40 +01:00
Oswald Buddenhagen
9d20a2abb4
make attaching adapters more robust
...
to make the behavior consistent across gdb versions, ignore the initial
*stopped which gdb7 delivers while attaching.
Reviewed-By: hjk
2009-10-30 17:47:51 +01:00
Robert Loehning
64e2519915
TRK: Changed strings.
...
Using "TRK" when referring to the protocol, "App TRK" when referring to the program on the device.
Reviewed-by: Oswald Buddenhagen
2009-10-29 14:18:49 +01:00
Friedemann Kleint
fa2dbbc582
Debugger/S60: Handle shared library query correctly.
2009-10-28 11:29:13 +01:00
Friedemann Kleint
4091efb47f
S60: Provide a MessageBox for starting serial communication as well.
...
Generalize the concept of the Bluetooth starter, extract base class
BaseCommunicationStarter that can be used to start a serial communication
without further resources (listener) as well. Introduce convenience
functions for both types.
Note: This will only work for COM-ports that are not used otherwise
by the operating system.
2009-10-26 15:40:11 +01:00
Friedemann Kleint
93759263d0
S60/Debugger: Add Bluetooth starter to Debugger
...
- 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
2009-10-26 11:55:02 +01:00
hjk
d35dcd8dbe
debugger: better handling of qfDllInfo packet
2009-10-23 17:06:44 +02:00
Oswald Buddenhagen
33996aa12e
remove bogus assertion
...
the state check is in higher-level functions already
2009-10-23 16:59:27 +02:00
hjk
50038d591c
debugger: first shot at supporting qfDllInfo (only present in 6.4 symbianelf)
2009-10-23 15:47:12 +02:00
Friedemann Kleint
8175e4e4c6
S60: Introduce a communications device type.
...
- Introduce a communications device type flag, add stubs for
Bluetooth to serialdevicelister and pass the device type
in new struct CommunicationDevice along to run configuration
and debugger start parameters (overriding the debugger settings).
- Give the s60devices::Device a tooltip in the settings page
2009-10-22 16:42:25 +02:00
Oswald Buddenhagen
3a84440e91
clean up includes
2009-10-20 18:16:25 +02:00
Robert Loehning
30745d049f
Trk: Added preventive disconnects.
...
Reviewed-by: hjk
2009-10-20 17:51:20 +02:00
Oswald Buddenhagen
b2ae433a58
centralize exec-continue calling and error handling
2009-10-20 14:08:59 +02:00
Oswald Buddenhagen
3dc1e31deb
fix initial breakpoint setting
...
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.
2009-10-20 11:26:55 +02:00
Oswald Buddenhagen
b3addf14f1
fix shutdown paths
...
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
2009-10-20 11:26:55 +02:00
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
98b477fc32
missed that -exec-continue
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
1a27681c78
change trk adapter setup sequence
...
gdb can be started before the debugee, so do it. that's more in line
with the other adapters.
2009-10-12 18:52:00 +02:00
Oswald Buddenhagen
9254bc0bb1
remove dead code
2009-10-12 18:51:49 +02:00
Oswald Buddenhagen
63882fc773
simplify
2009-10-12 18:51:49 +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
Oswald Buddenhagen
2de8f49ee3
remove dead code
2009-10-12 14:56:35 +02:00
Friedemann Kleint
b2924aa66b
I18n: Tr()-fixes
2009-10-12 12:33:12 +02:00
Daniel Molkentin
555f8a02ec
Remove cygwin options now that we have a GDB which was build with MinGW.
...
Also, remove COM port selection on windows. It is taken from the run
configuration in case of Windows anyway.
Reviewed-By: Friedemann Kleint
2009-10-09 15:00:23 +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
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
5e7a26d863
debugger: rework fetching of memory from device
...
still a few cases for chunked fetching missing
2009-10-06 10:17:51 +02:00
Friedemann Kleint
d38f654d53
Fix Trk error handling
...
Do not close a trk device from its read handler, wire messages
correctly. TrkDevice: Terminate threads before closing.
2009-10-05 15:07:47 +02:00
hjk
dd09a4a16d
debugger: work on trk memory access
2009-10-05 08:26:56 +02:00
Friedemann Kleint
04d2bfa8f8
Trk: Load symbol file correctly on Windows
2009-10-02 16:13:46 +02:00
hjk
a8430f3382
debugger: fix chain of fallbacks for disassembler view.
...
Use non-mixed mode if source is not available.
2009-10-02 12:31:59 +02:00
hjk
3407aab9a5
debugger: keep track of library loads as reported by trk
2009-10-02 12:31:59 +02:00