This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: gdb pretty printers and python3.x
- From: David Malcolm <dmalcolm at redhat dot com>
- To: Matthias Klose <doko at ubuntu dot com>
- Cc: gdb at sourceware dot org, "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>
- Date: Wed, 12 Jun 2013 11:23:23 -0400
- Subject: Re: gdb pretty printers and python3.x
- References: <51B8394A dot 9040407 at ubuntu dot com>
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)