aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/disp-step-syscall.exp
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2012-03-04 02:36:38 +0000
committerYao Qi <yao@codesourcery.com>2012-03-04 02:36:38 +0000
commit69dc1c4dd35a20185a19c62485817029c02d3625 (patch)
treeae557b87fb5186af969a592f50b3ee49c98797a9 /gdb/testsuite/gdb.base/disp-step-syscall.exp
parent09ddfdd71770bf80e468ccf3cec68258626d94cc (diff)
downloadgdb-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/testsuite/gdb.base/disp-step-syscall.exp')
-rw-r--r--gdb/testsuite/gdb.base/disp-step-syscall.exp4
1 files changed, 4 insertions, 0 deletions
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
}