std::string and MI
Tom Tromey
tromey@redhat.com
Tue Dec 2 17:37:00 GMT 2008
>>>>> "André" == André Pönitz <apoenitz@trolltech.com> writes:
[...]
André> In both cases the 'std::' namespace is missing from the type.
André> As the "namespace foo" example above shows, this can't be the general
André> problem with namespaces, as "foo::string" is reported as I expected.
André> Does anybody know how to tweak gdb's settings so that it produces the
André> std:: namespace, too?
I didn't look at this example, but in other cases where "whatis"
printed something odd, I have tracked the problem down to weird debug
info. You might take a look at that. IOW, it may not be gdb's
decision. There's a GCC PR or two in this area.
Tom
More information about the Gdb
mailing list