From: Corinna Vinschen Date: Thu, 20 Mar 2003 14:10:17 +0000 (+0000) Subject: * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bf02868245009d404500d2a297ffc222725d1389;p=binutils-gdb.git * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function when stepping out of main(). --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7a0dcfca29f..72e4e2dbf67 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-03-20 Corinna Vinschen + + * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function + when stepping out of main(). + 2003-03-20 Corinna Vinschen * gdb.base/default.exp: Check for win32 specific message when calling diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp index f7e954f4aad..f89e142dd92 100644 --- a/gdb/testsuite/gdb.base/ending-run.exp +++ b/gdb/testsuite/gdb.base/ending-run.exp @@ -171,6 +171,10 @@ gdb_expect { # This is what happens on sparc64-elf ultra. pass "step out of main" } + -re ".*in.*dll_crt0_1.*$gdb_prompt $" { + # This is what happens on Cygwin. + pass "step out of main" + } -re ".*Program exited normally.*$gdb_prompt $" { # This is what happens on Linux i86 (and I would expect others) set program_exited 1