This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/c++] Print virtual baseclasses correctly
On Fri, Dec 07, 2001 at 04:49:36PM -0500, Jim Blandy wrote:
>
> Daniel Jacobowitz <drow@mvista.com> writes:
> > If the virtual base was outside of the particular object we're reading at
> > the moment (which it often is if we are printing a baseclass of some derived
> > class with virtual bases), we used to lose offsets inside cp_print_value.
> > The symptom was that "p (baseclass)obj" would be correct, but "p obj" would
> > show corrupted values for <baseclass>. This will (eventually, once my other
> > patches go in) fix two failures v3 for me in inherit.exp (print g_vD and
> > print g_vE).
> >
> > OK to commit?
>
> Yes, please do.
Committed.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer