|
|
0b42f8 |
commit e03ed3c64a048522ba4bc12092f8a75bcfab6ea8
|
|
|
0b42f8 |
Author: Andreas Arnez <arnez@linux.vnet.ibm.com>
|
|
|
0b42f8 |
Date: Fri Jul 10 10:36:02 2015 +0200
|
|
|
0b42f8 |
|
|
|
0b42f8 |
gnu_vector.exp: Skip infcall tests on x86/x86_64
|
|
|
0b42f8 |
|
|
|
0b42f8 |
Since the new KFAILs/KPASSs for the infcall tests on x86 and x86_64
|
|
|
0b42f8 |
targets generated unnecessary noise, this change skips them with
|
|
|
0b42f8 |
UNSUPPORTED instead.
|
|
|
0b42f8 |
|
|
|
0b42f8 |
gdb/testsuite/ChangeLog:
|
|
|
0b42f8 |
|
|
|
0b42f8 |
* gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
|
|
|
0b42f8 |
infcall tests instead of setting up for KFAIL.
|
|
|
0b42f8 |
|
|
|
0b42f8 |
### a/gdb/testsuite/ChangeLog
|
|
|
0b42f8 |
### b/gdb/testsuite/ChangeLog
|
|
|
0b42f8 |
## -1,3 +1,8 @@
|
|
|
0b42f8 |
+2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
|
|
|
0b42f8 |
+
|
|
|
0b42f8 |
+ * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
|
|
|
0b42f8 |
+ infcall tests instead of setting up for KFAIL.
|
|
|
0b42f8 |
+
|
|
|
0b42f8 |
2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
|
|
|
0b42f8 |
|
|
|
0b42f8 |
* gdb.btrace/record_goto-step.exp: New.
|
|
|
0b42f8 |
--- a/gdb/testsuite/gdb.base/gnu_vector.exp
|
|
|
0b42f8 |
+++ b/gdb/testsuite/gdb.base/gnu_vector.exp
|
|
|
0b42f8 |
@@ -177,16 +177,19 @@ gdb_test "ptype struct_with_vector_1" "type = struct {\r\n\[\t \]+int i;\r\n\[\t
|
|
|
0b42f8 |
|
|
|
0b42f8 |
# Test inferior function calls with vector arguments and/or vector
|
|
|
0b42f8 |
# return values.
|
|
|
0b42f8 |
-setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
|
|
|
0b42f8 |
+if { [istarget "i?86-*-*"] || [istarget "x86_64-*-*" ] } {
|
|
|
0b42f8 |
+ # These platforms don't support infcalls with vector arguments
|
|
|
0b42f8 |
+ # and/or vector return values, so skip the remaining tests.
|
|
|
0b42f8 |
+ # See also PR exp/18537.
|
|
|
0b42f8 |
+ unsupported "skip remaining vector ABI tests on this arch"
|
|
|
0b42f8 |
+ return
|
|
|
0b42f8 |
+}
|
|
|
0b42f8 |
gdb_test "print add_some_intvecs(i4a, i4b, 3 * i4a)" "= \\{17, 34, 72, 132\\}" \
|
|
|
0b42f8 |
"call add_some_intvecs"
|
|
|
0b42f8 |
-setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
|
|
|
0b42f8 |
gdb_test "print add_many_charvecs(c4, c4, c4, c4, c4, c4, c4, c4, c4, c4)" \
|
|
|
0b42f8 |
"= \\{10, 20, 30, 40\\}" "call add_many_charvecs"
|
|
|
0b42f8 |
-setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
|
|
|
0b42f8 |
gdb_test "print add_various_floatvecs(2, f4a, f4b)" "= \\{3, 6, 16, 20\\}" \
|
|
|
0b42f8 |
"call add_various_floatvecs"
|
|
|
0b42f8 |
-setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
|
|
|
0b42f8 |
gdb_test "print add_structvecs(i2, (struct just_int2)\{2*i2\}, (struct two_int2)\{3*i2, 4*i2\})" \
|
|
|
0b42f8 |
"= \\{i = \\{10, 20\\}\\}" "call add_structvecs"
|
|
|
0b42f8 |
gdb_test "print add_singlevecs((char1) \{6\}, (int1) \{12\}, (double1) \{24\})" "= \\{42\\}" \
|
|
|
0b42f8 |
@@ -195,7 +198,6 @@ gdb_test "print add_singlevecs((char1) \{6\}, (int1) \{12\}, (double1) \{24\})"
|
|
|
0b42f8 |
# Test vector return value handling with "finish" and "return".
|
|
|
0b42f8 |
gdb_breakpoint "add_some_intvecs"
|
|
|
0b42f8 |
gdb_continue "add_some_intvecs"
|
|
|
0b42f8 |
-setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
|
|
|
0b42f8 |
gdb_test "finish" "Value returned is .* = \\{10, 20, 48, 72\\}" \
|
|
|
0b42f8 |
"finish shows vector return value"
|
|
|
0b42f8 |
gdb_continue "add_some_intvecs"
|
|
|
0b42f8 |
@@ -203,5 +205,4 @@ gdb_test "return (int4) \{4, 2, 7, 6\}" \
|
|
|
0b42f8 |
"#0 .* main .*" \
|
|
|
0b42f8 |
"set vector return value" \
|
|
|
0b42f8 |
"Make add_some_intvecs return now. .y or n.*" "y"
|
|
|
0b42f8 |
-setup_kfail gdb/18537 "i?86-*-*" "x86_64-*-*"
|
|
|
0b42f8 |
gdb_test "continue" "4 2 7 6\r\n.*" "verify vector return value"
|