diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 57e3030cb9..772c5bfbde 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-02-24 Jan Kratochvil + + 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 Fix false FAILs with glibc debug infos installed. diff --git a/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp b/gdb/testsuite/gdb.reverse/i386-sse-reverse.exp index 0b0f7ccb02..e344db4abb 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"