gcc HEAD rearranges stabs members
Michael Elizabeth Chastain
mec.gnu@mindspring.com
Tue Dec 30 20:57:00 GMT 2003
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&);
}
Same change with gdb HEAD of course.
So I have to write a bunch of new patterns in gdb.cp/*.exp to match the
new output. And I have to stare at all the differences and see if any
actual bugs crept in along with the rearrangement.
(David, this is why I like the HEAD test suite to keep working with
gdb 6.0 -- because the gdb 6.0 test suite just lost a lot of value
with gcc HEAD).
Hey, maybe some fixes crept in. A guy can hope.
Michael C
More information about the Gdb
mailing list