hjk
3ceecf661b
debugger: fix linking
...
new header files gdbprocessbase needs to be listed in HEADERS
2009-09-10 08:27:01 +02:00
ck
8aa139ea53
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-09 17:27:59 +02:00
hjk
ffaa42e585
debugger: merge trk adapter into debugger sources
2009-09-09 17:25:02 +02:00
ck
6f5cea2aaa
Various improvements for BinEditor.
...
- Saving to file only takes modified data into account.
- Search functionality does not exhaust memory anymore.
- Searches can be canceled. This required updating the IFindSupport
interface and all classes implementing it. No functional changes
were done in those.
Reviewed-by: mae
2009-09-09 17:11:00 +02:00
mae
99435d5f0e
Make "Edit/Advanced/Clean_Whitespace work on the current
...
selection (if there is one)
2009-09-09 16:37:09 +02:00
mae
16e7f0c16f
be more conservative when reindenting code: only change the
...
actual whitespace when the indentation column changes.
Complete whitespace cleanup can still be done either automatically
on save (when configured) or when explicitely called with the
"Clean Whitespace" action from Edit/Advanced.
2009-09-09 16:16:46 +02:00
mae
32229e30b4
mark all-whitespace-lines with the correct visual format.
2009-09-09 14:58:47 +02:00
mae
f269031b5e
Make indentation/tabbing more developer friendly:
...
- when doing backspace, preserve the previous indentation litterally
- when having auto-indentation turned off, simply repeat the previous
indentation litterally instead of jumping to 0
2009-09-09 13:56:29 +02:00
hjk
1614d6b6b8
debugger: small refactoring of the access to the gdb process in the gdbengine
...
That's the first step to make the gdb/trk Adapter work with the otherwise
unmodified gdb engine. GdbProcessBase is inherited by GdbProcess and the
gdb/trk Adapter. In the GdbProcess case it's just a wrapper around a QProcess
running gdb, in the Adapter case it's the interface to the gdb process in the
whole rfomm/gdb/gdbserver combo.
2009-09-09 12:41:26 +02:00
hjk
5d26f53368
trk: progress in breakpoint setting; removal of unused code
2009-09-09 11:46:52 +02:00
Oswald Buddenhagen
2513c0a93f
don't attempt to read qmake cache if there is none
...
evaluating a file (which might not exist) is a bit different than just
merging a (possibly empty) map ...
2009-09-09 10:14:15 +02:00
Oswald Buddenhagen
37c5e2ddd3
revert acd090200 - no crash or even memory corruption reproducible
2009-09-09 02:56:36 +02:00
Oswald Buddenhagen
f1c881c4e0
cache_valuemap doesn't have to be a member any more
2009-09-09 02:56:36 +02:00
hjk
087eca4566
trk: step-by-instruction
2009-09-08 14:45:53 +02:00
hjk
ae09799416
trk: make ad-hoc UI a bit friendlier
2009-09-08 14:45:53 +02:00
hjk
a1ea6f5f1f
trk: refactoring
2009-09-08 14:45:52 +02:00
hjk
0fc3129b3c
trk: we always want to be called back independent of ACK/NAK
2009-09-08 14:45:51 +02:00
hjk
fbeeb8677a
trk: remove a debug message
2009-09-08 14:45:51 +02:00
hjk
db8cddf55b
trk: rename 'response' to 'cmd' in handleGdbServerCommand
2009-09-08 14:45:50 +02:00
hjk
2da891ee88
trk: fix size of 'kill' packet. also, do not announce the library loading to
...
gdb as it starts asking questions afterwards.
2009-09-08 14:45:49 +02:00
hjk
d9e7a39081
debugger: simplify trk device logic a bit
2009-09-08 14:45:49 +02:00
dt
e58ff77bd3
Take the build environment into account for searching what to execute.
...
Fixes a bug where the cmake plugin wasn't finding make, if the make
commands directory was added to path in the build environment.
2009-09-08 13:53:50 +02:00
Thorbjørn Lindeijer
61ed06d58e
Moved mouse navigation into BaseTextEditor so that it can be reused
...
For implementing mouse navigation in the QML editor.
2009-09-08 13:05:25 +02:00
Erik Verbruggen
1b4d1f1fd4
Suppress warning dialog when the QML Viewer executable cannot be found.
2009-09-08 12:43:14 +02:00
ck
85dcd851da
Added 64 bit support to BinEditor.
2009-09-08 11:59:21 +02:00
hjk
b208e15aef
debugger: work on trk
2009-09-08 09:33:04 +02:00
mae
9b4055122c
Fix code folding issue with empty nested blocks like in:
...
void main()
{
{
}
int i;
}
2009-09-07 16:15:59 +02:00
Erik Verbruggen
78d07c6d39
Fixed off-by-one
2009-09-04 18:01:46 +02:00
Erik Verbruggen
cac5663a4f
Modified the QML project to notify the DUI model manager when a file is added to the project.
2009-09-04 17:54:38 +02:00
Erik Verbruggen
a52209336d
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-04 16:51:48 +02:00
Erik Verbruggen
998064ad72
Added a snapshot to the DUI editor.
2009-09-04 16:51:11 +02:00
Roberto Raggi
dd7daa4579
Compile
2009-09-04 13:45:44 +02:00
Roberto Raggi
80a46231f1
Fixed QML indenter.
2009-09-04 12:54:18 +02:00
Daniel Molkentin
e2c06d5da1
Make conversion to from QTDIR to qmake more reliable.
2009-09-04 09:52:14 +02:00
Daniel Molkentin
9960bea83d
Remove debugging.
2009-09-04 09:51:23 +02:00
dt
53cfbb13a7
Initialize everything also in the invalid QtVersion ctor.
2009-09-03 19:45:09 +02:00
Daniel Molkentin
5476bcf560
Find Qt installation by specification of qmake rather than a "Qt dir".
...
Rationale: The concept of a "Qt Dir" is dead ever since Qt can be
installed. Specifying the qmake location otoh makes it possible to
unambigously detect all parts of a Qt installation.
2009-09-03 19:16:40 +02:00
dt
267ef8ecc5
Fix compile
...
Reviewed-By: hjk
2009-09-03 17:59:57 +02:00
dt
9045d99786
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-03 17:54:36 +02:00
dt
778db1bf2d
Fix potential crash.
2009-09-03 17:45:55 +02:00
hjk
5859b41064
debugger: work on trk runner
2009-09-03 17:24:31 +02:00
dt
ead627ed81
Remove dependency of rvct toolchain and gcce toolchain on qt4project.
...
Also makes the code a lot smaller.
2009-09-03 16:07:14 +02:00
Alessandro Portale
94348d8ed2
Less / on Windows.
2009-09-03 15:40:12 +02:00
dt
89974416eb
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
2009-09-03 15:15:45 +02:00
dt
156db18592
Fix not trying hard enough to find the correct file on build errors.
...
If there are multiple files with the same name, then we try harder to
find the correct one. That is for jom and nmake we have a relative path
so we try to find a file which matches the relative path completly.
Instead of just comparing the last part.
2009-09-03 15:15:20 +02:00
hjk
80847e5551
debugger: disable not very useful QImage dumper for 1.3
2009-09-03 13:32:26 +02:00
hjk
b69fad927a
debugger: fix child count in QAbstractItem dumpers
2009-09-03 13:26:38 +02:00
hjk
809117892c
debugger: work in progress (new trk runner)
...
Basic TRK/adapter communication now works using "rfcomm listen /dev/rfcomm0 1
&& ./adapter -f -v /dev/rfcomm0 127.0.0.1:3222 && ./cs-gdb"
This is wrapped up in a "runner" binary
2009-09-03 13:26:38 +02:00
hjk
0915d3e206
debugger: add manual test for QDateTime, also extend script test a bit
2009-09-03 13:26:38 +02:00
dt
e1f9a003bb
Fix crash, with a non existing toolchain.
2009-09-03 13:21:01 +02:00