aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <qtc-committer@nokia.com>2010-08-23 12:45:19 +0200
committerhjk <qtc-committer@nokia.com>2010-08-23 14:16:48 +0200
commit0a2b06f884e2b1de0600fa101cadc6d9152102e9 (patch)
treea381d051ab8c440d1f8da6e4a6937e9976fa8730
parent461f8d5e602b1fa7afb94bd017f4edbf803926bf (diff)
debugger: apply special formats for type 'foo' also to 'const foo'
(cherry picked from commit 7dfcbe5f3998916c005671d23c1fb54aaedb0bbc)
-rw-r--r--share/qtcreator/gdbmacros/dumper.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py
index 95b66e853a..3e8d8a0805 100644
--- a/share/qtcreator/gdbmacros/dumper.py
+++ b/share/qtcreator/gdbmacros/dumper.py
@@ -911,6 +911,7 @@ class FrameCommand(gdb.Command):
if pos != -1:
type = base64.b16decode(f[0:pos], True)
typeformats[type] = int(f[pos+1:])
+ typeformats["const " + type] = int(f[pos+1:])
elif arg.startswith("formats:"):
for f in arg[pos:].split(","):
pos = f.find("=")