Commit Graph

131 Commits

Author SHA1 Message Date
hjk
28b0dcc4d1 debugger: increase accessible memory range in the trk adapter
needed after changing the default to "inaccessible"
2010-02-11 10:52:25 +01:00
hjk
89a971207f debugger: fix initial display of register view in trk adapter 2010-02-11 10:52:25 +01:00
hjk
238f5be023 debugger: fix call to "set trust-readonly-sections on".
Does not appear to help, though.
2010-02-11 10:52:25 +01:00
hjk
7766646b11 debugger: use gdb/cli for disassembler output. 2010-02-11 10:52:25 +01:00
hjk
bd1b9e6ccb debugger: cache target read-only memory in the trkadapter 2010-02-08 14:57:14 +01:00
Friedemann Kleint
3efdb87682 S60/Trk: Make the port a property of TrkDevice.
Associate the port with the device instead of passing it to open
for better handling.
2010-02-08 14:10:51 +01:00
hjk
0bde89eee3 debugger: use the direct access withing trkadapter to list threads 2010-02-08 13:02:25 +01:00
hjk
27fa4c0440 debugger: distinguish between "step into" and "step over" in TrkAdapter. 2010-02-05 16:00:54 +01:00
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