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]
Other format: [Raw text]

[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 }


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