This is the mail archive of the
mailing list for the GDB project.
Re: MI: getting qualified type name
On Friday 14 April 2006 16:47, Daniel Jacobowitz wrote:
> namespace bar
> struct whatever
> int someval;
> typedef whatever zot;
> (gdb) interpreter-exec mi "-var-create - * b"
> (gdb) interpreter-exec mi "-var-create - * c"
> I don't know what compiler you're using, Vladimir, but in GCC 4.0.3
> this appears to be a compiler bug. The typedef gets emitted inside
> main, not inside the namespace. Same in 3.3. Slightly different,
> but similar problem in 4.1.
> This is now GCC PR 27160.
Ah! I'm using 3.3 so it's affected by this bug. Thanks for diagnosing, hope
it'll be fixed soon.