aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kratochvil <jan.kratochvil@redhat.com>2012-02-24 00:40:01 +0000
committerJan Kratochvil <jan.kratochvil@redhat.com>2012-02-24 00:40:01 +0000
commit07c1b62689e6aeb6e86d11db17ab2a887474aec3 (patch)
tree7eecab8e43ce503df3250573861a0bd7dd1a81d2
parent596ba13831fea861c6d1d02adea87e67bdde0e4a (diff)
downloadgdb-07c1b62689e6aeb6e86d11db17ab2a887474aec3.zip
gdb-07c1b62689e6aeb6e86d11db17ab2a887474aec3.tar.gz
gdb-07c1b62689e6aeb6e86d11db17ab2a887474aec3.tar.bz2
gdb/testsuite/
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.
-rw-r--r--gdb/testsuite/ChangeLog6
-rw-r--r--gdb/testsuite/gdb.reverse/i386-sse-reverse.exp13
2 files changed, 16 insertions, 3 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 57e3030..772c5bf 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,11 @@
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.
* gdb.reverse/solib-precsave.exp (set debug-file-directory): New test.
* gdb.reverse/solib-reverse.exp (set debug-file-directory): New test.
diff --git a/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp b/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
index 0b0f7cc..e344db4 100644
--- a/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
+++ b/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp
@@ -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"