debugger: fix display of '"' chars

Task-number: QTCREATORBUG-3084
This commit is contained in:
hjk
2010-11-16 17:09:25 +01:00
parent cb4e680424
commit f9c585281e
2 changed files with 17 additions and 0 deletions

View File

@@ -1472,6 +1472,12 @@ class Dumper:
value = item.value
type = value.type
if type.code == gdb.TYPE_CODE_INT or type.code == gdb.TYPE_CODE_CHAR:
self.putType(realtype)
self.putValue(int(value))
self.putNumChild(0)
return
typedefStrippedType = stripTypedefs(type)
if isSimpleType(typedefStrippedType):