aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
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
commitbf02868245009d404500d2a297ffc222725d1389 (patch)
tree1a17c53b09c700024b2e073d044d1128ccac1174 /gdb/testsuite/gdb.base/ending-run.exp
parent182dbe8580a6d0b1b444bf40fcdf33b2fb8645fa (diff)
downloadgdb-bf02868245009d404500d2a297ffc222725d1389.zip
gdb-bf02868245009d404500d2a297ffc222725d1389.tar.gz
gdb-bf02868245009d404500d2a297ffc222725d1389.tar.bz2
* gdb.base/ending-run.exp: Check for Cygwin specific wrapper function
when stepping out of main().
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-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 f7e954f..f89e142 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