gdb/testsuite/

* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
	messages for KFAIL.
This commit is contained in:
Yao Qi 2012-03-04 02:36:38 +00:00
parent 09ddfdd717
commit 69dc1c4dd3
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-03-04 Yao Qi <yao@codesourcery.com>
* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
messages for KFAIL.
2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com> 2012-03-03 Jan Kratochvil <jan.kratochvil@redhat.com>
* gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc. * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc.

View File

@ -127,6 +127,10 @@ proc disp_step_cross_syscall { syscall } { with_test_prefix "$syscall" {
fail $test fail $test
return return
} }
-re "\\\[Inferior .* exited normally\\\].*\r\n$gdb_prompt $" {
fail $test
return
}
-re "\r\n$gdb_prompt $" { -re "\r\n$gdb_prompt $" {
pass $test pass $test
} }