Commit e22f8e37 authored by hjk's avatar hjk

Debugger: Fix transfer of object address with LLDB

For opening memory editor etc. This was a regression after protocol
changes in 525c33f9.

Change-Id: I519ab744122547bd5d0094675dbd471d8e77e98c
Reviewed-by: default avatarAlexandru Croitor <alexandru.croitor@theqtcompany.com>
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent daab6421
......@@ -974,7 +974,7 @@ class Dumper(DumperBase):
#if int(addr) == 0xffffffffffffffff:
# raise RuntimeError("Illegal address")
if self.currentPrintsAddress and not addr is None:
self.put('addr="0x%x",' % int(addr))
self.put('address="0x%x",' % int(addr))
def isFunctionType(self, typeobj):
if self.isGoodLldb:
......@@ -1007,7 +1007,7 @@ class Dumper(DumperBase):
self.put('iname="%s",' % self.currentIName)
self.putType(typeName)
self.put('numchild="%s",' % numchild)
self.put('addr="0x%x",' % value.GetLoadAddress())
self.put('address="0x%x",' % value.GetLoadAddress())
self.putItemCount(numchild)
if self.currentIName in self.expandedINames:
with Children(self):
......
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