diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-07 15:39:31 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-07 15:39:31 +0200 |
commit | be2481d193d6f7a2593cf5ce767894cac8e41435 (patch) | |
tree | c76ff2ced845f041693f5591efba50b7d20e6dea /solenv/gdb/libreoffice | |
parent | 2894840c8c18eccaaaae609b686d34e378d84a92 (diff) |
re-add some gdb BigPtrArray pretty printing
After commit c6902761d797253cda8b3f71f102c66108585e24
"Revert "use std::vector in BigPtrArray""
<mst_> noelgrandin: you reverted both gdb changes but only one sw
change?
<noelgrandin> mst_, I thought your gdb change only appliled to the
std::vector?
<mst_> noelgrandin: there was another std::something or other change
there, one was mvInfo and the other mvData
<noelgrandin> mst_, sigh, will fix that
Change-Id: I3059d29b1a559eb3077f5d713be011e15e887ee0
Diffstat (limited to 'solenv/gdb/libreoffice')
-rw-r--r-- | solenv/gdb/libreoffice/sw.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gdb/libreoffice/sw.py b/solenv/gdb/libreoffice/sw.py index cfb3cec3eeb7..6c0165e3fc6b 100644 --- a/solenv/gdb/libreoffice/sw.py +++ b/solenv/gdb/libreoffice/sw.py @@ -246,7 +246,7 @@ class BigPtrArrayPrinter(object): raise StopIteration() name = str(self.pos) - node = self.block['pData'][self.pos - self.block['nStart']] + node = self.block['mvData']['_M_elems'][self.pos - self.block['nStart']] value = self._node_value(node) if self.pos == self.block['nEnd']: self._next_block() |