diff --git a/share/qtcreator/gdbmacros/dumper.py b/share/qtcreator/gdbmacros/dumper.py index 7a3593b1408008cd813de155422a80663973cf5f..2f283006ce209335e927de485a533c4e5c06037c 100644 --- a/share/qtcreator/gdbmacros/dumper.py +++ b/share/qtcreator/gdbmacros/dumper.py @@ -1373,8 +1373,8 @@ class Dumper: charptr = gdb.lookup_type("unsigned char").pointer() addr1 = (baseptr+1).cast(charptr) addr0 = baseptr.cast(charptr) - self.putField("addrbase", cleanAddress(addr0)) - self.putField("addrstep", addr1 - addr0) + self.putField("addrbase" % cleanAddress(addr0)) + self.putField("addrstep" % (addr1 - addr0)) innerType = None if len(fields) == 1 and fields[0].name is None: