This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: tdesc-arch.exp
- From: Daniel Jacobowitz <drow at false dot org>
- To: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- Cc: gdb at sourceware dot org, binutils at sourceware dot org
- Date: Sun, 28 Jan 2007 08:55:40 -0500
- Subject: Re: tdesc-arch.exp
- References: <200701281150.l0SBogxK027539@brahms.sibelius.xs4all.nl>
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"