This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: tdesc-arch.exp


On Sun, Jan 28, 2007 at 12:50:42PM +0100, Mark Kettenis wrote:
> Not sure how we should fix this.  We really shouldn't advertise the
> x86-64 variants if we don't support any 64-bit ABI, but doing so is a
> tad bit difficult because this list comes directly from BFD.  So
> perhaps the test should be KFAIL'ed for now?

Yes, I think that's our best option.  Does this work?  If so I'll fill
out the NNNN with a PR number.

-- 
Daniel Jacobowitz
CodeSourcery

2007-01-28  Daniel Jacobowitz  <dan@codesourcery.com>

	* tdesc-arch.exp (set_arch): Add KFAIL for missing OS ABI handlers.

Index: tdesc-arch.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.xml/tdesc-arch.exp,v
retrieving revision 1.1
diff -u -p -r1.1 tdesc-arch.exp
--- tdesc-arch.exp	23 Jan 2007 17:11:55 -0000	1.1
+++ tdesc-arch.exp	28 Jan 2007 13:54:36 -0000
@@ -70,6 +70,9 @@ proc set_arch { arch which } {
 	-re "^$cmd_regex\r\n$gdb_prompt $" {
 	    pass $msg
 	}
+	-re "^$cmd_regex\r\nwarning: A handler for the OS ABI.*\r\n$gdb_prompt $" {
+	    kfail gdb/NNNN $msg
+	}
     }
 
     set cmd "show architecture"


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