gdb/testsuite/
authorYao Qi <yao@codesourcery.com>
Sun, 4 Mar 2012 02:36:38 +0000 (02:36 +0000)
committerYao Qi <yao@codesourcery.com>
Sun, 4 Mar 2012 02:36:38 +0000 (02:36 +0000)
* gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error
messages for KFAIL.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/disp-step-syscall.exp

index 37c6d09659873aad9b45a41fb8e154c5a613918b..d941bb5fc399584a1073626ada7bcfe3c09b75bb 100644 (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>
 
        * gdb.ada/arrayidx.exp: Call get_compiler_info.  New variable old_gcc.
index 486701c7eabfa6afd7ce4056ec73505b61d4c693..915cb97476bfc507037a9cf2406fec8269c3efe9 100644 (file)
@@ -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
        }