hjk
735b3489d4
debugger: fake hardware breakpoints work better with read-only memory
2010-02-05 15:23:44 +01:00
hjk
52dcc41021
debugger: fix typo in unused code
2010-02-05 15:23:44 +01:00
hjk
c69e573c06
debugger: the stack range is not read-only...
2010-02-05 15:23:44 +01:00
Friedemann Kleint
f2b3e9f2df
S60/Trk: Change trkutils to be a library of its own.
...
To be able to share TrkDevices between Debugger and Qt4ProjectManager.
2010-02-05 12:26:02 +01:00
hjk
311ab94fda
debugger: assume memory is inaccessible by default when using trk
2010-02-04 15:02:04 +01:00
hjk
e539f5bda3
debugger: take advantage of the fact that the trkadapter has often up-to-date
...
register data
2010-02-04 12:12:27 +01:00
hjk
b35a4096c6
debugger: start using TRK's 'multi instruction step' facility
2010-02-04 09:57:38 +01:00
Friedemann Kleint
74977e1290
Debugger: Fix some code scanning issues.
2010-02-03 17:22:44 +01:00
hjk
533a85a62a
debugger: in trk communication one needs to acknowledge the loading of 'really
...
shared' libraries but not of 'static' dlls.
2010-02-01 12:17:55 +01:00
Oswald Buddenhagen
75b42f18d8
Merge remote branch 'origin/1.3'
...
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
4320314046
Merge branch 'origin/1.3' (early part)
...
Conflicts:
src/plugins/debugger/gdb/trkgdbadapter.cpp
src/plugins/projectexplorer/projectexplorer.cpp
src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
src/plugins/texteditor/basetexteditor.cpp
2010-01-29 22:14:44 +01:00
Oswald Buddenhagen
a6ca348636
remove trailing whitespace
...
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
hjk
0653843d47
debugger: implement stub for qThreadExtraInfo, add some debugging aid
2010-01-29 15:48:17 +01:00
hjk
5323eee10e
debugger: try to avoid asking for all registers when stepping internally
2010-01-21 17:19:08 +01:00
hjk
b55259e2bd
debugger: use breakpoint always-inserted in trk adapter
2010-01-21 17:19:08 +01:00
hjk
9f173acefe
debugger: use no-ack mode in trk adapter
2010-01-21 17:19:08 +01:00
hjk
e8c15eab33
debugger: 'replace' the adapter memory cache with gdb's own.
...
This works better with larger gdb cache lines.
See #define LINE_SIZE_POWER 8 in gdb/dcache.c:105.
2010-01-21 17:19:08 +01:00
Friedemann Kleint
ce144fd545
Debugger: Code cosmetics.
2010-01-21 17:00:25 +01:00
Friedemann Kleint
968e5e228a
Debugger: Code cosmetics.
2010-01-21 16:55:15 +01:00
Friedemann Kleint
713be02ab7
S60: Handle TrkNotifyStopped (crash) when running.
...
Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com >Reviewed-by: John Doe
Conflicts:
src/plugins/qt4projectmanager/qt-s60/s60devicerunconfiguration.cpp
2010-01-21 15:51:33 +01:00
Friedemann Kleint
c516f350b2
S60: Handle TrkNotifyStopped (crash) when running.
...
Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com >Reviewed-by: John Doe
2010-01-21 15:46:33 +01:00
Friedemann Kleint
7d24517097
Revert "S60: Handle TrkNotifyStopped (crash) when running."
...
This reverts commit 607e545218 .
2010-01-21 15:43:47 +01:00
Friedemann Kleint
607e545218
S60: Handle TrkNotifyStopped (crash) when running.
...
Extract error message string from Trk, print proper message
when application crashes in run mode and terminate launcher.
Use same message in Debugger for consistency.
Reviewed-by: Robert Loehning <robert.loehning@nokia.com >
2010-01-21 15:27:05 +01:00
Friedemann Kleint
1044af5f82
S60: Support command line arguments when running on devices.
...
Add command line arguments to trklauncher. Add input field
to S60DeviceRunConfiguration and pass on to RunControl and debugger.
2010-01-21 12:36:39 +01:00
Robert Loehning
500ab0f0b4
debugger: Using macro, removed unused QString
2010-01-15 18:24:34 +01:00
con
048275b051
Build fix
2010-01-15 18:19:54 +01:00
con
8b5ab50f0e
debugger: remove obsolete add-symbol-file call
...
(cherry picked from commit 4051d8228b )
Conflicts:
src/plugins/debugger/gdb/trkgdbadapter.cpp
2010-01-15 17:31:31 +01:00
hjk
81977e2d3d
debugger: combine memory blocks more aggressively
...
(cherry picked from commit 85b39966bc )
2010-01-15 17:29:23 +01:00
hjk
4051d8228b
debugger: remove obsolete add-symbol-file call
2010-01-15 16:25:52 +01:00
hjk
6fc1bfb2c9
debugger: backport some symbian fixes
...
Reviewed-by: Robert Loehning
2010-01-15 16:03:10 +01:00
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