forked from qt-creator/qt-creator
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:
@@ -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)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user