forked from qt-creator/qt-creator
Debugger: Fix transfer of object address with LLDB
For opening memory editor etc. This was a regression after protocol
changes in 525c33f99
.
Change-Id: I519ab744122547bd5d0094675dbd471d8e77e98c
Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com>
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -974,7 +974,7 @@ class Dumper(DumperBase):
|
|||||||
#if int(addr) == 0xffffffffffffffff:
|
#if int(addr) == 0xffffffffffffffff:
|
||||||
# raise RuntimeError("Illegal address")
|
# raise RuntimeError("Illegal address")
|
||||||
if self.currentPrintsAddress and not addr is None:
|
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):
|
def isFunctionType(self, typeobj):
|
||||||
if self.isGoodLldb:
|
if self.isGoodLldb:
|
||||||
@@ -1007,7 +1007,7 @@ class Dumper(DumperBase):
|
|||||||
self.put('iname="%s",' % self.currentIName)
|
self.put('iname="%s",' % self.currentIName)
|
||||||
self.putType(typeName)
|
self.putType(typeName)
|
||||||
self.put('numchild="%s",' % numchild)
|
self.put('numchild="%s",' % numchild)
|
||||||
self.put('addr="0x%x",' % value.GetLoadAddress())
|
self.put('address="0x%x",' % value.GetLoadAddress())
|
||||||
self.putItemCount(numchild)
|
self.putItemCount(numchild)
|
||||||
if self.currentIName in self.expandedINames:
|
if self.currentIName in self.expandedINames:
|
||||||
with Children(self):
|
with Children(self):
|
||||||
|
Reference in New Issue
Block a user