From 69dc1c4dd35a20185a19c62485817029c02d3625 Mon Sep 17 00:00:00 2001 From: Yao Qi Date: Sun, 4 Mar 2012 02:36:38 +0000 Subject: [PATCH] gdb/testsuite/ * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error messages for KFAIL. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/disp-step-syscall.exp | 4 ++++ 2 files changed, 9 insertions(+) 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 + + * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error + messages for KFAIL. + 2012-03-03 Jan Kratochvil * 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 } -- 2.30.2