This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch/testsuite/cp] local.exp: accommodate gcc abi 2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]