Compat: Missing things from libstdc++-v3/python/libstdcxx/v6/printers.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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!



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux