------- Comment #5 from pluto at agmk dot net  2010-09-15 07:52 -------
there's one more issue with std::string pretty printing.
with -gdwarf-4 enabled it fails on gdb-7.2 with runtime error:

$1 = Traceback (most recent call last):
line 546, in to_string
    reptype = gdb.lookup_type (str (realtype) + '::_Rep').pointer ()
RuntimeError: No type named std::basic_string<char, std::char_traits<char>,
std::allocator<char> >::_Rep.

for -gdwarf-2 and -gdwarf-3 it works.



Reply via email to