This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Compat: Missing things from libstdc++-v3/python/libstdcxx/v6/printers.py
- From: Paul Smith <paul at mad-scientist dot net>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 13 Dec 2016 14:49:24 -0500
- Subject: Compat: Missing things from libstdc++-v3/python/libstdcxx/v6/printers.py
- Authentication-results: sourceware.org; auth=none
- Reply-to: paul at mad-scientist dot net
Debugging GCC 6.2-built programs I found at least one data type left
out of the STL pretty-printers for GDB (in my particular case, I
discovered it's missing std::__cxx11::list).
I can edit the file and just add an entry there to treat
std::__cxx11::list the same as std::list, but looking at the latest
content of the macros from the dev HEAD I see many other changes. I
assume some of these are related to newer code that will be available
when GCC 7 is released though.
So, my question is, are these macros intended to be backward-compatible
such that if I use a newer set of macros with a program built with an
older libstdc++ STL, should they still work?
In other words if I take the latest set of printer macros from dev HEAD
and start using them with GCC 6.2 (I use -std=gnu++14), are they
intended to work (modulo bugs)?
Cheers!