diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-12-20 11:11:10 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-12-20 12:32:06 +0100 |
commit | 04e3b4789682ecc1ead40b35dcc13b5079f51460 (patch) | |
tree | 9888731dbd42448f6a16a0df8d6045d2b209e104 /solenv | |
parent | 40317fb643997053f30cc2cfc41e3c0a819079c2 (diff) |
gdb pretty printers: fix BigPtrArray printer for member rename
Change-Id: Ia9da0c0931a01b2c99c24420a9ba603b47a711c1
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gdb/libreoffice/sw.py | 8 |
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 = "" |