This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa/c++] Fix "virtual baseclass botch"
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Jim Blandy <jimb at zwingli dot cygnus dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 4 Jan 2002 13:21:55 -0500
- Subject: Re: [rfa/c++] Fix "virtual baseclass botch"
- References: <20011208162154.A873@nevyn.them.org> <npofksuyld.fsf@zwingli.cygnus.com>
On Fri, Dec 21, 2001 at 03:06:54PM -0500, Jim Blandy wrote:
>
> Daniel Jacobowitz <drow@mvista.com> writes:
> > Here's the last big patch in my queue. This is the fix to the virtual
> > baseclass botch problems (or at least most of them). I add baseclass_offset
> > to the C++ ABI structure, and supply a new version for v3. The old
> > baseclass_offset is moved (unchanged except for name) into gnu-v2-abi.c.
> > hpacc-abi.c currently references that same function, which is not quite
> > right, but preserves the current state of affairs (see the FIXME).
>
> Wonderful! I tried to do this, but got confused and gave up. Please
> go ahead and commit this change.
Committed, no regressions. We're in pretty good shape now. I've got a
couple other fixes to make even more of the v3 tests pass; I'll clean
them up against the current tree and we'll see what we've got :)
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer