libstdc++: Fix atomic and error_code printers for versioned namespace
authorJonathan Wakely <jwakely@redhat.com>
Thu, 26 May 2022 14:44:08 +0000 (15:44 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 26 May 2022 21:29:04 +0000 (22:29 +0100)
commit11e1ee1b38f0d3a825b0cb70122cb345636b0534
tree8ad43a4cdab30c67440c73cfc8c1959bf029ca1c
parentae3ea143ef4222707ce751f89f7b45d8f913caf3
libstdc++: Fix atomic and error_code printers for versioned namespace

This fixes the printers to work with std::__8::atomic and
std::__v8::ios_errc and std::__v8::future_errc.

libstdc++-v3/ChangeLog:

* python/libstdcxx/v6/printers.py (StdErrorCodePrinter): Make
lookup for ios_errc and future_errc check versioned namespace.
(StdAtomicPrinter): Strip versioned namespace from typename.
libstdc++-v3/python/libstdcxx/v6/printers.py