Commit 56da0aed authored by hjk's avatar hjk

Debugger: Fix pointer typedef display for LLDB on Linux

Change-Id: Idf84b17df0e8ef7796cc50af0b1111d0bde69293
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 696845b5
......@@ -893,10 +893,10 @@ class Dumper(DumperBase):
return
realType = value.GetType()
if hasattr(realType, 'GetCanonicalType'):
realType = realType.GetCanonicalType()
value = value.Cast(realType.unqualified())
self.putItem(value)
self.putBetterType(typeName)
baseType = realType.GetCanonicalType()
baseValue = value.Cast(baseType.unqualified())
self.putItem(baseValue)
self.putBetterType(realType)
return
# Our turf now.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment