This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto
- To: chastain at cygnus dot com, dberlin at redhat dot com
- Subject: Re: [RFA] testsuite/gdb.c++/ref-types.exp: use runto
- From: Michael Elizabeth Chastain <chastain at cygnus dot com>
- Date: Fri, 16 Mar 2001 13:15:05 -0800
- Cc: fnasser at redhat dot com, gdb-patches at sources dot redhat dot com
Mmmm, a philosophical dispute.
Daniel Berlin writes:
> They need to be xfail'd for old-abi, but not for new-abi.
I believe that when gdb has a bug which is under its control, that the
test suite should issue a FAIL, not an XFAIL.
Here is a gdb log entry for gcc 2.95.2, gdb CVS, Red Hat Linux 7 native,
stabs:
(gdb) print pAe->f()
$1 = 134547192
(gdb) XFAIL: gdb.c++/virtfunc.exp: print pAe->f()
If gdb said "I'm sorry, but pAe->f() is too complex for me", I would
accept that as an XFAIL. But when gdb prints wrong answers, that should
be a FAIL.
I'm interested in other maintainer's opinions on this because I'm
planning to submit patches to change such XFAIL's to FAIL's, so that
the test suite can actually report what is broken in C++ support.
Michael