[committed] libstdc++: Fix std::any pretty printer

2022-11-16 Thread Jonathan Wakely via Gcc-patches
Tested x86_64-linux, with GDB 12.1. Pushed to trunk. -- >8 -- The recent changes to FilteringTypePrinter affect the result of gdb.lookup_type('std::string') in StdExpAnyPrinter, causing it to always return the std::__cxx11::basic_string specialization. This then causes a gdb.error exception when

[committed] libstdc++: Fix std::any pretty printer [PR 68735]

2020-12-02 Thread Jonathan Wakely via Gcc-patches
This fixes errors seen on powerpc64 (big endian only) due to the printers for std::any and std::experimental::any being unable to find the manager function. libstdc++-v3/ChangeLog: PR libstdc++/65480 PR libstdc++/68735 * python/libstdcxx/v6/printers.py (function_pointer_to