summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-06-14 18:08:47 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-06-14 18:08:47 +0000
commit230bac55c0bfe6bf4aeaffc03b8995570c39d35c (patch)
tree5e5477c70dc79b6182aa43e88cb7840ce81cc41c /gdb/testsuite/gdb.base/ending-run.exp
parent57db482b8ea3919ee06ac7a11b1c76320c5807ff (diff)
downloadgdb-230bac55c0bfe6bf4aeaffc03b8995570c39d35c.tar.gz
import gdb-1999-06-14 snapshot
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index a8d0f05bea6..8f102fbb43e 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -141,6 +141,7 @@ gdb_expect {
-re ".*in.*start.*$gdb_prompt $" {
pass "step out of main"
}
+ -re ".*$gdb_prompt $" { fail "step at end 2" }
timeout { fail "hang or timeout on step at end 2" }
}
}
@@ -157,6 +158,7 @@ gdb_expect {
-re ".*Program received signal SIGTRAP.*$gdb_prompt $" {
pass "Cygmon stopped in ending trap."
}
+ -re ".*$gdb_prompt $" { fail "step at end 1" }
timeout { fail "hang or timeout on step at end 1" }
}