This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch/testsuite/cp] local.exp: accommodate gcc abi 2
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andrew Cagney <cagney at gnu dot org>
- Cc: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>,gdb-patches at sources dot redhat dot com
- Date: Mon, 5 Jan 2004 11:05:37 -0500
- Subject: Re: [patch/testsuite/cp] local.exp: accommodate gcc abi 2
- References: <20040103014521.2A5BD4B35A@berman.michael-chastain.com> <3FF98A6B.3000704@gnu.org>
On Mon, Jan 05, 2004 at 11:01:47AM -0500, Andrew Cagney wrote:
> >This expands local.exp to accommodate gcc HEAD -gstabs+ with the new abi.
> >As with several other files, I just cloned the pattern for
> >gcc 3.3.2 -gstabs+ abi-1 and re-ordered the fields.
> >
>
> Michael, humor me :-)
>
> Is this "The New ABI" or a yet to be named but for the moment would be
> best refered to as "The New New ABI"?
>
> Several years ago GCC added what they should add a new ABI and so called
> it "The New ABI" (...). I believe its motivation and specification both
> at least in part originated with the IA-64. I thought "The New ABI"
> became known as "ABI 2"?
It's not a new ABI in the sense that you mean. It's a new ABI version
- gcc now has a command line switch for incompatible bug-fixes to the
existing ABI. The only change between -fabi-version=1 and
-fabi-version=2 that will affect GDB is probably this one, which moves
virtual destructors to another location in the vtable.
This is still the "Itanium C++ ABI". It's just a little closer to the
published document than it used to be :) I don't remember it being
called ABI 2 - if anything, it was called the v3 ABI, for GCC 3.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer