Commit 717e384b authored by hjk's avatar hjk
Browse files

Debugger: Handle $xmm0 etc in watchers



Change-Id: Ic2d2bd88da6b773b72518d6058c3be2ca389d73a
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 51b743a2
......@@ -691,11 +691,16 @@ class DumperBase:
self.putEmptyValue()
if self.currentIName in self.expandedINames:
p = self.addressOf(value)
ts = targetType.sizeof
if not self.tryPutArrayContents(targetType, p, int(type.sizeof / ts)):
with Children(self, childType=targetType,
addrBase=p, addrStep=ts):
try:
# May fail on artificial items like xmm register data.
p = self.addressOf(value)
ts = targetType.sizeof
if not self.tryPutArrayContents(targetType, p, int(type.sizeof / ts)):
with Children(self, childType=targetType,
addrBase=p, addrStep=ts):
self.putFields(value)
except:
with Children(self, childType=targetType):
self.putFields(value)
def cleanAddress(self, addr):
......
Supports Markdown
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