gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 24 Feb 2012 00:40:01 +0000 (00:40 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 24 Feb 2012 00:40:01 +0000 (00:40 +0000)
Fix false FAILs on old CPUs without SSE.
* gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
Return untested for Illegal instruction.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.reverse/i386-sse-reverse.exp

index 57e3030cb90f1a447cbb2f0a491fca8fe5bb0981..772c5bfbde60156edff9314f5f49d16cd660c0f0 100644 (file)
@@ -1,3 +1,9 @@
+2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix false FAILs on old CPUs without SSE.
+       * gdb.reverse/i386-sse-reverse.exp (continue to end of sse_test):
+       Return untested for Illegal instruction.
+
 2012-02-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix false FAILs with glibc debug infos installed.
index 0b0f7ccb02d97109aff936b7ba4347a8e8549aee..e344db4abbbaabc86f188606d3e3458ae8f8e5e7 100644 (file)
@@ -67,9 +67,16 @@ gdb_test "break $end_sse_test" \
     "Breakpoint $decimal at .* line $end_sse_test\." \
     "set breakpoint at end of sse_test"
 
-gdb_test "continue" \
-    " end sse_test .*" \
-    "continue to end of sse_test"
+set test "continue to end of sse_test"
+gdb_test_multiple "continue" $test {
+    -re " end sse_test .*\r\n$gdb_prompt $" {
+       pass $test
+    }
+    -re " Illegal instruction.*\r\n$gdb_prompt $" {
+       untested i386-sse-reverse
+       return -1
+    }
+}
 
 gdb_test "reverse-step" "xorps.*" "reverse-step to xorps"
 
This page took 0.049404 seconds and 4 git commands to generate.