[PATCH][_GLIBCXX_DEBUG][_GLIBCXX_INLINE_VERSION] Add missing printers
François Dumont
frs.dumont@gmail.com
Thu Sep 22 17:06:16 GMT 2022
Hi
This patch fix failures when _GLIBCXX_INLINE_VERSION mode and running:
make check-debug RUNTESTFLAGS=prettyprinters.exp
libstdc++: [_GLIBCXX_INLINE_VERSION] Add gdb pretty print for
_GLIBCXX_DEBUG
In _GLIBCXX_DEBUG mode containers are in std::__debug namespace but
not template
parameters. In _GLIBCXX_INLINE_VERSION mode most types are in
std::__8 namespace but
not std::__debug containers. We need to register specific type
printers for this
combination.
libstdc++-v3/ChangeLog:
* python/libstdcxx/v6/printers.py
(add_one_template_type_printer): Register
printer for types in std::__debug namespace with template
parameters in std::__8
namespace.
Ok to commit ?
François
-------------- next part --------------
A non-text attachment was scrubbed...
Name: printers.py.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/libstdc++/attachments/20220922/74447997/attachment.bin>
More information about the Libstdc++
mailing list