This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: About the "info locals" command of gdb and python pretty printer
- From: Tom Tromey <tromey at redhat dot com>
- To: asmwarrior <asmwarrior at gmail dot com>
- Cc: gdb at sourceware dot org, libstdc++ at gcc dot gnu dot org, Matthias Klose <doko at ubuntu dot com>
- Date: Wed, 23 Jun 2010 14:28:09 -0600
- Subject: Re: About the "info locals" command of gdb and python pretty printer
- References: <m3tyowgnd2.fsf@fleche.redhat.com> <4C21FCDC.5050503__12891.7291098789$1277296251$gmane$org@gmail.com>
- Reply-to: tromey at redhat dot com
>>>>> ">" == 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