OSDN Git Service
(root)
/
qt-creator-jp
/
qt-creator-jp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c47b2ae
)
debugger: make auto-deref display the pointer properly on toplevel entries on mac
author
hjk
<qtc-committer@nokia.com>
Fri, 8 Jul 2011 10:09:50 +0000
(12:09 +0200)
committer
hjk
<qthjk@ovi.com>
Fri, 8 Jul 2011 10:12:14 +0000
(12:12 +0200)
Change-Id: I98644761466731286d89f296a8eeefab3425501f
Reviewed-on: http://codereview.qt.nokia.com/1359
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
src/plugins/debugger/gdb/classicgdbengine.cpp
patch
|
blob
|
history
diff --git
a/src/plugins/debugger/gdb/classicgdbengine.cpp
b/src/plugins/debugger/gdb/classicgdbengine.cpp
index
51ee1b6
..
42f364f
100644
(file)
--- a/
src/plugins/debugger/gdb/classicgdbengine.cpp
+++ b/
src/plugins/debugger/gdb/classicgdbengine.cpp
@@
-864,6
+864,8
@@
void GdbEngine::updateSubItemClassic(const WatchData &data0)
// Try automatic dereferentiation
data.exp = "(*(" + data.exp + "))";
data.type = data.type + '.'; // FIXME: fragile HACK to avoid recursion
+ if (data.value.startsWith("0x"))
+ data.value = "@" + data.value;
insertData(data);
} else {
data.setChildrenUnneeded();