Tom Tromey | 2 Dec 2008 18:37
Picon
Favicon

Re: std::string and MI

>>>>> "André" == André Pönitz <apoenitz <at> 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


Gmane