Commit d15e4ff2 authored by hjk's avatar hjk Committed by Christian Stenger

Debugger: Replace block access to array data by plain loop.

This makes the GccExtension dumper test pass with GDB

Change-Id: Ia1319e878416bea8b162a1a9eef1271cb7bebc63
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 67e8d368
...@@ -911,14 +911,9 @@ class DumperBase: ...@@ -911,14 +911,9 @@ class DumperBase:
self.putNumChild(n) self.putNumChild(n)
if self.isExpanded(): if self.isExpanded():
try: with Children(self):
# May fail on artificial items like xmm register data. for i in range(n):
#if not self.tryPutArrayContents(p, n, innerType): self.putSubItem(i, value[i])
with Children(self, childType=innerType, addrBase=p, addrStep=ts):
self.putFields(value)
except:
with Children(self, childType=innerType):
self.putFields(value)
self.putPlotDataHelper(p, n, innerType) self.putPlotDataHelper(p, n, innerType)
......
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