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
> Tom> GCC svn trunk has pretty-printers for basically everything in
> Tom> libstdc++ :-)
>
> Nick> Cool! Will they be distributed as part of the libstdc++ package
> Nick> files? i.e. with future GNU/Linux distributions
>
> Yes, they are installed in a way that lets them auto-activate, if the
> distro configures everything properly. We're already doing this in
> Fedora 11.
How does that work? I can see that a front-end can get GDB to read the file
printers.py, if it is distributed with the libstdc++ package, using
"library-loaded" notification:
=library-loaded,id="/usr/lib/libstdc++.so.6",target-name="/usr/lib/libstdc++.so.6",host-name="/usr/lib/libstdc++.so.6",symbols-loaded="0"
Or do you mean that the build of GDB in Fedora 11 will recognise that
libstdc++ has been loaded and then automatically read in the file printers.py?
--
Nick http://users.snap.net.nz/~nickrob