[Bug libstdc++/51967] FAIL: libstdc++-prettyprinters/48362.cc
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 23 15:59:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51967
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-01-23 15:39:52 UTC ---
do the printers ever work, outside the testsuite?
i.e. if you build this:
#include <tuple>
int main() {
std::tuple<int, int> t;
return std::tuple_size<decltype(t)>::value;
}
then debug and run
break 4
run
print t
you should see
$1 = std::tuple containing = {
[1] = 0,
[2] = 0
}
does it make any difference if you put this in ~/.gdbinit (with the correct
path to the installed gcc)?
python
import sys
sys.path.insert(0, '/path/to/gcc/share/gcc-4.7.0/python')
from libstdcxx.v6.printers import register_libstdcxx_printers
register_libstdcxx_printers (None)
end
More information about the Gcc-bugs
mailing list