Re: [PATCH] libstdc++: Install libstdc++*-gdb.py more robustly [PR 99453]

2021-04-21 Thread Jonathan Wakely via Gcc-patches
On 03/04/21 14:56 -0400, Philippe Blain wrote: In order for GDB to auto-load the pretty printers, they must be installed as "libstdc++.$ext-gdb.py", where 'libstdc++.$ext' is the name of the object file that is loaded by GDB [1], i.e. the libstdc++ shared library. The approach taken in libstdc++

[PATCH] libstdc++: Install libstdc++*-gdb.py more robustly [PR 99453]

2021-04-03 Thread Philippe Blain via Gcc-patches
In order for GDB to auto-load the pretty printers, they must be installed as "libstdc++.$ext-gdb.py", where 'libstdc++.$ext' is the name of the object file that is loaded by GDB [1], i.e. the libstdc++ shared library. The approach taken in libstdc++-v3/python/Makefile.am is to loop over files matc