diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-04-10 10:50:10 -0700 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-04-13 21:14:49 +0200 |
commit | 3b3c10cee0d38f9396fdb6cf028ceb8917822bb7 (patch) | |
tree | 7ce3fe6e4041541d6d817b240f6c4e6046ad4918 /starmath | |
parent | acb0cdeedafc5fd38703d4a0a545a33058f1673f (diff) |
Fix Python exception in gdb pretty-printer basegfx
Add single quotes around the namespace::class construct, when calling
gdb.parse_and_eval(), otherwise this exception is thrown:
"Python Exception <class 'gdb.error'> A syntax error in expression, near `)xxx)->count($'.:"
The reason is a possible conflict with '::' referring a static variable
(https://sourceware.org/gdb/onlinedocs/gdb/Variables.html).
Also improved the B2DPolyPolygonPrinter::children method to avoid a
segmentation fault, when accessing member m_value.
Change-Id: I1c15a4b786e1e374c67ace445d28c1ce210a4c04
Reviewed-on: https://gerrit.libreoffice.org/70537
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'starmath')
0 files changed, 0 insertions, 0 deletions