[PATCH] varobj.c: Report changed values that use a pretty-printer

Tom Tromey tromey@redhat.com
Thu Sep 24 18:31:00 GMT 2009


>>>>> "Nick" == Nick Roberts <nickrob@snap.net.nz> writes:

Nick, sorry about the double reply.  The copy of your message that I
received was CCd to gdb-patches@redhat.com... either you resent it (?)
or there is some bad address mangling going on somewhere.  (If you did
not resend it, let me know, because I'd like to try to track down the
problem.)

Tom> Yes, they are installed in a way that lets them auto-activate, if the
Tom> distro configures everything properly.  We're already doing this in
Tom> Fedora 11.

Nick> How does that work?

GDB has code in it to automatically find and read a .py file when a new
objfile is created.  On Fedora, we install such a file that loads the
libstdc++ printers when libstdc++.so is used by the inferior.

See (info "(gdb)Auto-loading") for the details.

Tom



More information about the Gdb-patches mailing list