]> git.ipfire.org Git - thirdparty/gcc.git/commit
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>
Tue, 12 Oct 2021 10:45:45 +0000 (11:45 +0100)
commita9e07e1651a4a219602ef848fa891ba78733084f
tree80bd315f26af7538556246d8b0a5ad752d3830f7
parent371e12a7fd0295251340eabae77dd060577054c3
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.

(cherry picked from commit db853ff78a34fef25bc16133e0367a64526f9f4e)
libstdc++-v3/python/Makefile.am
libstdc++-v3/python/Makefile.in