Commit f0419375 authored by hjk's avatar hjk

Debugger: Fix display of function pointers with LLDB

While it's a pointer, auto-dereferencing does not
make much sense...

Change-Id: I036e2d5195ea0f9813fe7ebaa7dc2434579abbe5
Reviewed-by: default avatarhjk <>
parent dd1a77ae
...@@ -1016,12 +1016,13 @@ class Dumper: ...@@ -1016,12 +1016,13 @@ class Dumper:
self.putNumChild(0) self.putNumChild(0)
return return
origType = value.GetType()
innerType = value.GetType().GetPointeeType() innerType = value.GetType().GetPointeeType()
self.putType(innerType) self.putType(innerType)
savedCurrentChildType = self.currentChildType savedCurrentChildType = self.currentChildType
self.currentChildType = str(innerType) self.currentChildType = str(innerType)
self.putItem(value.dereference()) inner = value.Dereference()
if inner.IsValid():
self.currentChildType = savedCurrentChildType self.currentChildType = savedCurrentChildType
self.put('origaddr="%s",' % value.address) self.put('origaddr="%s",' % value.address)
return return
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