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.
This commit is contained in:
Jan Kratochvil 2012-02-24 00:40:01 +00:00
parent 596ba13831
commit 07c1b62689
2 changed files with 16 additions and 3 deletions

View 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.

View 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"