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