Re: gdb pretty printers and python3.x
David Malcolm <[email protected]>
| Newsgroups | gmane.comp.gcc.libstdc++.devel,gmane.comp.gdb.devel |
|---|---|
| Message-ID | <1371050603.3393.17.camel@surprise> |
On Wed, 2013-06-12 at 11:03 +0200, Matthias Klose wrote: > Starting with gdb-7.6, gdb supports embedding a Python3 interpreter instead of > Python2. However most pretty printers are still using Python2 code, and when > shipping a gdb using Python3, you have to fix all pretty printers at once (and > keep building it with Python2, nobody will port to Python3). So some questions: > > - Is there a list of known pretty printers? So far I know about > libstdc++, python, gtk, libreoffice. Cython has some too IIRC Also, it's not just pretty-printers: gdb-heap [1] adds commands to gdb for dealing with glibc's (and CPython's) handling of the heap. [...] Hope this is helpful Dave [1] https://fedorahosted.org/gdb-heap/ (my pet project)