diff options
author | Yao Qi <yao@codesourcery.com> | 2012-03-04 02:36:38 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2012-03-04 02:36:38 +0000 |
commit | 69dc1c4dd35a20185a19c62485817029c02d3625 (patch) | |
tree | ae557b87fb5186af969a592f50b3ee49c98797a9 /gdb | |
parent | 09ddfdd71770bf80e468ccf3cec68258626d94cc (diff) | |
download | gdb-69dc1c4dd35a20185a19c62485817029c02d3625.zip gdb-69dc1c4dd35a20185a19c62485817029c02d3625.tar.gz gdb-69dc1c4dd35a20185a19c62485817029c02d3625.tar.bz2 |
gdb/testsuite/
* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
messages for KFAIL.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/disp-step-syscall.exp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 37c6d09..d941bb5 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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> * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc. diff --git a/gdb/testsuite/gdb.base/disp-step-syscall.exp b/gdb/testsuite/gdb.base/disp-step-syscall.exp index 486701c..915cb97 100644 --- a/gdb/testsuite/gdb.base/disp-step-syscall.exp +++ b/gdb/testsuite/gdb.base/disp-step-syscall.exp @@ -127,6 +127,10 @@ proc disp_step_cross_syscall { syscall } { with_test_prefix "$syscall" { fail $test return } + -re "\\\[Inferior .* exited normally\\\].*\r\n$gdb_prompt $" { + fail $test + return + } -re "\r\n$gdb_prompt $" { pass $test } |