aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/ending-run.exp
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2002-09-18 17:20:54 +0000
committerCorinna Vinschen <corinna@vinschen.de>2002-09-18 17:20:54 +0000
commitafb5c968b6cf516ce7ef786eec0def9a800f4b63 (patch)
treee31c1752c4012a938d7660fbc6e0f79e5b124a32 /gdb/testsuite/gdb.base/ending-run.exp
parent31e45dee0347508e2ddccb3f695272e8040dba69 (diff)
downloadgdb-afb5c968b6cf516ce7ef786eec0def9a800f4b63.zip
gdb-afb5c968b6cf516ce7ef786eec0def9a800f4b63.tar.gz
gdb-afb5c968b6cf516ce7ef786eec0def9a800f4b63.tar.bz2
* gdb.base/ending-run.exp: Add handling of "step to end of run" for
embedded targets which never actually exit.
Diffstat (limited to 'gdb/testsuite/gdb.base/ending-run.exp')
-rw-r--r--gdb/testsuite/gdb.base/ending-run.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.base/ending-run.exp b/gdb/testsuite/gdb.base/ending-run.exp
index 989406a..f7e954f 100644
--- a/gdb/testsuite/gdb.base/ending-run.exp
+++ b/gdb/testsuite/gdb.base/ending-run.exp
@@ -253,6 +253,9 @@ if {! [target_info exists use_gdb_stub]
pass "step to end of run (status wrapper)"
set program_exited_normally 1
}
+ -re "Single.*EXIT code 0\r\n.*$gdb_prompt $" {
+ pass "step to end of run (status wrapper)"
+ }
-re ".*Single.*Program exited.*$gdb_prompt $" {
pass "step to end of run"
set program_exited_normally 1