Re: [testsuite] add gdb.cp/gdb1355.exp

Andrew Cagney
2003-09-20T21:40:30Z

> ac> David is correct. Look at the number of additions to gdb.asm since it
> ac> was changed to FAIL instead of ERROR.
> ac>
> ac> However, we've adopted KFAIL XFAIL.
>
> Ummm, I am dense here ... are you favoring FAIL or XFAIL
> for this test result?

Neither. Just agreeing with what I'm assuming is David's assertion that
KFAIL and XFAIL both lead to people sweeping problems under the carpet.

For years the gdb.asm directory produced an ERROR. Only after it was
changed to produce failures did people start fixing it and the bugs it
unearthed.

> (The situation is that gcc produces bad debug info which causes
> gdb to give bad results. The gcc bug has been fixed but we have
> a gdb test for the bug in case it comes back).

Judgment call. If its possible for gdb to identify the corrupt input
then it needs to alert the user to the problem, and failing to do this
is a bug.

Andrew