This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] Fix C++ enum tests
- To: Nick Duffek <nsd at redhat dot com>
- Subject: Re: [RFA] Fix C++ enum tests
- From: dberlin at redhat dot com (Daniel Berlin+list.gdb-patches)
- Date: 08 Jul 2000 22:42:24 -0400
- Cc: gdb-patches at sourceware dot cygnus dot com
- References: <200007090121.e691LLV00837@rtl.cygnus.com>
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