summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqiyao <qiyao>2012-03-04 02:36:37 +0000
committerqiyao <qiyao>2012-03-04 02:36:37 +0000
commite277a512715bbea5d01c96af2d6175a7d5bdc37d (patch)
treeb522cff8128ba2227e2cffdd48665385d4ebb9e2
parent0683eeaf6e180a2381618f3d40bda6af8102ed6c (diff)
downloadgdb-e277a512715bbea5d01c96af2d6175a7d5bdc37d.tar.gz
gdb/testsuite/
* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error messages for KFAIL.
-rw-r--r--gdb/testsuite/ChangeLog5
-rw-r--r--gdb/testsuite/gdb.base/disp-step-syscall.exp4
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 37c6d096598..d941bb5fc39 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 486701c7eab..915cb97476b 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
}