libstdc++: Install GDB pretty printers for debug library
authorJonathan Wakely <jwakely@redhat.com>
Thu, 12 Aug 2021 18:56:14 +0000 (19:56 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 16 Aug 2021 16:51:42 +0000 (17:51 +0100)
commitdb853ff78a34fef25bc16133e0367a64526f9f4e
treeefc33ee3625dd9cbf0abd076ec1e08b7a2879ab3
parent8cdcea51c0fd753e6a652c9b236e91b3a6e0911c
libstdc++: Install GDB pretty printers for debug library

The additional libraries installed by --enable-libstdcxx-debug are built
without optimization to aid debugging, but the Python pretty printers
are not installed alongside them. This means that you can step through
the unoptimized library code, but at the expense of pretty printing the
library types.

This remedies the situation by installing another copy of the GDB hooks
alongside the debug version of libstdc++.so.

Signed-off-by: Jonathan Wakely <jwakely@redhat.com>
libstdc++-v3/ChangeLog:

* python/Makefile.am [GLIBCXX_BUILD_DEBUG] (install-data-local):
Install another copy of the GDB hook.
* python/Makefile.in: Regenerate.
libstdc++-v3/python/Makefile.am
libstdc++-v3/python/Makefile.in