This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/51649] New: pretty printers don't handle std::__7:: namespace
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 21 Dec 2011 11:48:05 +0000
- Subject: [Bug libstdc++/51649] New: pretty printers don't handle std::__7:: namespace
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51649
Bug #: 51649
Summary: pretty printers don't handle std::__7:: namespace
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: pluto@agmk.net
the libstdc++ pretty printers don't work for gcc configured
with --enable-symvers=gnu-versioned-namespace.
e.g. it prints std::string as:
(gdb) p s
$1 = {
static npos = 18446744073709551615,
_M_dataplus = {
<std::__7::allocator<char>> = {
<__gnu_cxx::__7::__mt_alloc<char,
__gnu_cxx::__7::__common_pool_policy<__gnu_cxx::__7::__pool, true> >> = {
<__gnu_cxx::__7::__mt_alloc_base<char>> = {<No data fields>}, <No data
fields>}, <No data fields>},
members of std::__7::basic_string<char, std::__7::char_traits<char>,
std::__7::allocator<char> >::_Alloc_hider:
_M_p = 0x4d7220 "foo bar"
}
}