From bf02868245009d404500d2a297ffc222725d1389 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 20 Mar 2003 14:10:17 +0000 Subject: [PATCH] * gdb.base/ending-run.exp: Check for Cygwin specific wrapper function when stepping out of main(). --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.base/ending-run.exp | 4 ++++ 2 files changed, 9 insertions(+) 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 -- 2.30.2