This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51967] FAIL: libstdc++-prettyprinters/48362.cc
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 Jan 2012 15:39:52 +0000
- Subject: [Bug libstdc++/51967] FAIL: libstdc++-prettyprinters/48362.cc
- Auto-submitted: auto-generated
- References: <bug-51967-4@http.gcc.gnu.org/bugzilla/>
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