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: unassig...@gcc.gnu.org
        ReportedBy: pl...@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"
  }
}

Reply via email to