About the "info locals" command of gdb and python pretty printer

Tom Tromey tromey@redhat.com
Wed Jun 23 20:28:00 GMT 2010


>>>>> ">" == Asm gmail <asmwarrior@gmail.com> writes:

>> 1, It seems the current SVN std python script didn't works any
>> more.
[...]
>> All the response from gdb just gives the same as print /r XXXX.

I think this is pretty unlikely to have been caused by the recent patch.
Instead it sounds like the printers aren't being read in.

What version of Python are you using?

>> Today, I have build  gdb-cvs-20100623 , and try to make gdb crash on
>> printing some uninitialized stl containers by pretty printers. But it
>> stands through all the cases, so, it seems the gdb-cvs-20100623 is
>> quite stable than the gdb-cvs-20100619. I'm not sure what has
>> changed. It seems it more stable now.

As far as I know, nothing in this area has changed.

Tom



More information about the Libstdc++ mailing list