diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py index 95b66e853a6..3e8d8a0805f 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("=")