This is the mail archive of the
mailing list for the Archer project.
Re: FYI: removing the libstdc++ pretty-printers
>>>>> "Vladimir" == Vladimir Prus <firstname.lastname@example.org> writes:
Tom> They can check out just the libstdc++/python directory from gcc svn.
Tom> Then they just need to work out the code to load the printers...
Vladimir> This sounds scary. Suppose I've checked out that directory
Vladimir> to /tmp/python. What do I have to do to make gdb use that?
I think something like:
svn co svn://gcc.gnu.org/svn/gcc/trunk/libstdc++-v3/python
cat >> ~/.gdbinit << END
from libstdcxx.v6.printers import register_libstdcxx_printers
Yes, a bit scary.
IIUC the scenario here is a user who is stuck with an older GCC but
who upgrades GDB and wants to use the pretty-printers. I think users
like that can handle this.