Commit 178cbf5a authored by hjk's avatar hjk
Browse files

Debugger: Add createReferenceValue also to

Change-Id: I540616df3d4ca689495851783d1d111e14c28a3b
Reviewed-by: default avatarhjk <>
parent fe2b7915
......@@ -32,6 +32,9 @@ def directBaseClass(typeobj, index = 0):
def createPointerValue(context, address, pointeeType):
return gdb.Value(address).cast(pointeeType.pointer())
def createReferenceValue(context, address, referencedType):
return gdb.Value(address).cast(referencedType.pointer()).dereference()
def savePrint(output):
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