This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Add vector ABI tests to gnu_vector.exp
- From: Andreas Arnez <arnez at linux dot vnet dot ibm dot com>
- To: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- Cc: gdb-patches at sourceware dot org, sergiodj at redhat dot com (Sergio Durigan Junior)
- Date: Mon, 15 Jun 2015 18:05:18 +0200
- Subject: Re: [PATCH] Add vector ABI tests to gnu_vector.exp
- Authentication-results: sourceware.org; auth=none
- References: <20150612154853 dot 53B9C12CF at oc7340732750 dot ibm dot com>
On Fri, Jun 12 2015, Ulrich Weigand wrote:
> Andreas Arnez wrote:
>
>> [...]
>> Since GDB has no vector ABI support for x86 and x86_64 targets, most of
>> the new checks are XFAILed there.
>
> As this due to a known GDB problem and not something in the environment,
> that should be a KFAIL, not an XFAIL.
OK, I've opened a bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=18537
and changed the XFAILs to KFAILs pointing to that bug, as shown by the
patch below.
--
diff --git a/gdb/testsuite/gdb.base/gnu_vector.exp b/gdb/testsuite/gdb.base/gnu_vector.exp
index 9fe3a27..cf91fbb 100644
--- a/gdb/testsuite/gdb.base/gnu_vector.exp
+++ b/gdb/testsuite/gdb.base/gnu_vector.exp
@@ -180 +180 @@ gdb_test "ptype struct_with_vector_1" "type = struct {\r\n\[\t \]+int i;\r\n\[\t
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -183 +183 @@ gdb_test "print add_some_intvecs(i4a, i4b, 3 * i4a)" "= \\{17, 34, 72, 132\\}" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -186 +186 @@ gdb_test "print add_many_charvecs(c4, c4, c4, c4, c4, c4, c4, c4, c4, c4)" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -189 +189 @@ gdb_test "print add_various_floatvecs(2, f4a, f4b)" "= \\{3, 6, 16, 20\\}" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -198 +198 @@ gdb_continue "add_some_intvecs"
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
@@ -206 +206 @@ gdb_test "return (int4) \{4, 2, 7, 6\}" \
-setup_xfail "i?86-*-*" "x86_64-*-*"
+setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"