This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: gcc HEAD rearranges stabs members
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Michael Elizabeth Chastain <mec dot gnu at mindspring dot com>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 30 Dec 2003 16:05:24 -0500
- Subject: Re: gcc HEAD rearranges stabs members
- References: <20031230205720.E23EB4B35A@berman.michael-chastain.com>
On Tue, Dec 30, 2003 at 03:57:20PM -0500, Michael Chastain wrote:
> gcc rearranged the structure members in stabs+ debug info.
> Ouch! Ouch!
>
> Last week (gdb 6.0, gcc HEAD 2003-12-23, binutils 2.14, -gstabs+):
>
> ptype class Foo
> type = class Foo {
> public:
> int x;
> int y;
> static int st;
>
> Foo & operator=(Foo const&);
> Foo(Foo const&);
> Foo(int, int);
> int operator!();
> operator int();
> int times(int);
> }
>
> This week (gdb 6.0, gcc HEAD 2003-12-28, binutils 2.14, -gstabs+):
>
> ptype class Foo
> type = class Foo {
> public:
> int x;
> int y;
> static int st;
>
> Foo(int, int);
> int operator!();
> operator int();
> int times(int);
> Foo & operator=(Foo const&);
> Foo(Foo const&);
> }
So the synthetic members have moved to the end?
Might want to ping GCC about why this happened.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer