This is the mail archive of the gdb@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: gcc HEAD rearranges stabs members


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


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