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)
|
||||
|
||||
if self.isExpanded():
|
||||
try:
|
||||
# May fail on artificial items like xmm register data.
|
||||
#if not self.tryPutArrayContents(p, n, innerType):
|
||||
with Children(self, childType=innerType, addrBase=p, addrStep=ts):
|
||||
self.putFields(value)
|
||||
except:
|
||||
with Children(self, childType=innerType):
|
||||
self.putFields(value)
|
||||
with Children(self):
|
||||
for i in range(n):
|
||||
self.putSubItem(i, value[i])
|
||||
|
||||
self.putPlotDataHelper(p, n, innerType)
|
||||
|
||||
|
Reference in New Issue
Block a user