This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Remove some spurious test fails
- From: Daniel Jacobowitz <drow at false dot org>
- To: gdb-patches at sourceware dot org
- Date: Fri, 9 Jun 2006 15:09:57 -0400
- Subject: Re: Remove some spurious test fails
- References: <4489936B.6020001@codesourcery.com>
On Fri, Jun 09, 2006 at 04:27:39PM +0100, Nathan Sidwell wrote:
> This causes problems in the gdb testsuite because several tests presume one
> can set a breakpoint or step to the final } of a function. The tests which
> do this are not actually testing for that functionality, but merely using
> it. For my target, this leads to a lot of spurious test failures.
>
> Although it would be good to fix gcc, that's not practical right now, and I
> thought it would be better to defensively code the gdb testsuite anyway.
Anyone else have an opinion on this? I think it's reasonable to avoid
problematic constructs and test for them explicitly, but I have a vague
memory that we didn't want to do that at some point in the past.
It's pretty vague though; if no one has a reason, I'll approve this.
--
Daniel Jacobowitz
CodeSourcery