[RFA] c++/13615
Tom Tromey
tromey@redhat.com
Tue Nov 13 20:44:00 GMT 2012
Tom> Suppose you have something like:
Tom> namespace N {
Tom> typedef double value_type;
Tom> struct Base { typedef int value_type; };
Tom> struct Derived : public Base { };
Tom> }
Keith understood what I was saying better than I did -- if you then stop
in a method of Derived and 'ptype value_type', you should see int but
you will see double.
IIUC he's working on fixing this as part of this patch, so I'm not going
to re-review it now.
Tom
More information about the Gdb-patches
mailing list