summaryrefslogtreecommitdiff
path: root/solenv/gdb
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2016-12-20 11:11:10 +0100
committerMichael Stahl <mstahl@redhat.com>2016-12-20 12:32:06 +0100
commit04e3b4789682ecc1ead40b35dcc13b5079f51460 (patch)
tree9888731dbd42448f6a16a0df8d6045d2b209e104 /solenv/gdb
parent40317fb643997053f30cc2cfc41e3c0a819079c2 (diff)
gdb pretty printers: fix BigPtrArray printer for member rename
Change-Id: Ia9da0c0931a01b2c99c24420a9ba603b47a711c1
Diffstat (limited to 'solenv/gdb')
-rw-r--r--solenv/gdb/libreoffice/sw.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py
index cb70fbc4b082..ff929bb3d3ac 100644
--- a/solenv/gdb/libreoffice/sw.py
+++ b/solenv/gdb/libreoffice/sw.py
@@ -175,7 +175,7 @@ class BigPtrArrayPrinter(object):
self.value = value
def to_string(self):
- length = self.value['nSize']
+ length = self.value['m_nSize']
if length > 0:
return "%s of length %d" % (self.typename, length)
else:
@@ -191,10 +191,10 @@ class BigPtrArrayPrinter(object):
class _iterator(six.Iterator):
def __init__(self, array):
- self.blocks = array['ppInf']
- self.count = array['nSize']
+ self.blocks = array['m_ppInf']
+ self.count = array['m_nSize']
self.pos = 0
- self.block_count = array['nBlock']
+ self.block_count = array['m_nBlock']
self.block_pos = 0
self.block = None
self.indent = ""