This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] KFAIL gdb.c++/virtfunc.exp: print pEe->D::vg()
- From: David Carlton <carlton at math dot stanford dot edu>
- To: gdb-patches at sources dot redhat dot com
- Cc: Michael Elizabeth Chastain <mec at shout dot net>, Daniel Jacobowitz <drow at mvista dot com>
- Date: 14 Feb 2003 17:21:09 -0800
- Subject: [patch] KFAIL gdb.c++/virtfunc.exp: print pEe->D::vg()
This patch changes the test 'print pEe->D::vg()' in
gdb.c++/virtfunc.exp from XFAIL to KFAIL. It fails reliably for me,
and there's a big comment from Michael Chastain before the test
listing lots of other setups where it fails; it fails on all platforms
that he's currently testing, according to his latest tables.
I've committed this one, because I don't see how anybody could
complain about it. Don't worry: when I start KFAILing templates.exp,
I'll let other people comment before committing. :-)
Tested on i686-pc-linux-gnu/GCC3.1/DWARF2.
2003-02-14 David Carlton <carlton@math.stanford.edu>
* gdb.c++/virtfunc.exp (test_virtual_calls): Change 'print
pEe->D::vg()" from XFAIL to KFAIL.
Index: virtfunc.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.c++/virtfunc.exp,v
retrieving revision 1.12
diff -u -p -r1.12 virtfunc.exp
--- virtfunc.exp 20 Jan 2003 15:40:07 -0000 1.12
+++ virtfunc.exp 15 Feb 2003 01:09:19 -0000
@@ -915,12 +915,11 @@ proc test_virtual_calls {} {
#
# -- chastain 2002-02-20
- if {$gcc_compiled} then { setup_xfail "*-*-*" }
-
send_gdb "print pEe->D::vg()\n"
- setup_xfail "*-*-*"
gdb_expect {
-re ".* = 102$nl$gdb_prompt $" { pass "print pEe->D::vg()" }
+ -re "Attempt to take address of value not located in memory.\r\n$gdb_prompt $"
+ { kfail "gdb/1064" "print pEe->D::vg()" }
-re ".*$gdb_prompt $" { fail "print pEe->D::vg()" }
timeout { fail "print pEe->D::vg() (timeout)" }
eof { fail "print pEe->D::vg() ($GDB dumped core) (FIXME)" ; gdb_virtfunc_restart; return }