This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] c++/13615
- From: Tom Tromey <tromey at redhat dot com>
- To: Keith Seitz <keiths at redhat dot com>
- Cc: "gdb-patches\ at sourceware dot org ml" <gdb-patches at sourceware dot org>
- Date: Tue, 13 Nov 2012 13:44:49 -0700
- Subject: Re: [RFA] c++/13615
- References: <505119AE.6040401@redhat.com> <87sja4wlqt.fsf@fleche.redhat.com> <506F38C2.4050107@redhat.com> <874nkzhi6p.fsf@fleche.redhat.com>
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