This is the mail archive of the gdb-patches@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]

Re: [RFA] Fix C++ enum tests


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


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