Commit 53e2f9b4 authored by hjk's avatar hjk
Browse files

Debugger: Use a dummy name for temporary SBValues



Unlike SBValue.CreateValueFromAddress, SBTarget.CreateValueFromAddress
does not seem to like None as name. '@' gets accepted, though,
and is unlikely to appear as real C++ identifier.

Change-Id: I74f6d218f73222af3308d2acb5fbe9ff0a0f6c4b
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 53bd2e2e
......@@ -589,7 +589,7 @@ class Dumper(DumperBase):
def createValue(self, address, referencedType):
addr = int(address) & 0xFFFFFFFFFFFFFFFF
sbaddr = lldb.SBAddress(addr, self.target)
return self.target.CreateValueFromAddress(None, sbaddr, referencedType)
return self.target.CreateValueFromAddress('@', sbaddr, referencedType)
def childRange(self):
if self.currentMaxNumChild is None:
......
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