[RFA] Fix C++ enum tests
Daniel Berlin+list.gdb-patches
dberlin@redhat.com
Sat Jul 8 19:42:00 GMT 2000
Nick Duffek <nsd@redhat.com> writes:
> Several enum-related tests in gdb.c++/classes.exp have been failing
> because they set a breakpoint on a line number that has moved.
>
> This patch sets the breakpoint on a function rather than a line number,
> fixes a spelling error, and encapsulates the enum tests in functions.
>
> On sparc-sun-solaris2, the patch increases expected passes by 4 and
> decreases unexpected failures by the same amount.
>
> Okay to apply?
Fine by me, dunno if it falls under my maintainership though, or Stans.
I do have a question, however.
Have you tested them with different debug info types?
When it comes to C++ related tests, as i'm sure you know, things seem to work with DWARF2 that don't work with STABS, and occasionally, the other way around.
>
> Nick Duffek
> nsd@redhat.com
More information about the Gdb-patches
mailing list