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

This makes the GccExtension dumper test pass with GDB

Change-Id: Ia1319e878416bea8b162a1a9eef1271cb7bebc63
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
hjk
2015-04-02 15:03:59 +02:00
committed by Christian Stenger
parent 67e8d3689e
commit d15e4ff2c9

View File

@@ -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)