This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] varobj.c: Report changed values that use a pretty-printer
>>>>> "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