gcc HEAD rearranges stabs members
Daniel Jacobowitz
drow@mvista.com
Tue Dec 30 21:05:00 GMT 2003
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
More information about the Gdb
mailing list