summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-03-20 14:10:17 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-03-20 14:10:17 +0000
commit5cfa57592aa4058f97269d578f6756eee1c486d6 (patch)
tree58944a4ef216d637a8bca06457798e33041dbb56 /gdb/testsuite/gdb.base
parent5e240e1f9676c1977686126b16eab63a299e2a62 (diff)
downloadgdb-5cfa57592aa4058f97269d578f6756eee1c486d6.tar.gz
* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
Diffstat (limited to 'gdb/testsuite/gdb.base')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp4
1 files changed, 4 insertions, 0 deletions
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