aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/config
diff options
context:
space:
mode:
authorRob Savoye <rob@cygnus>1993-09-10 17:35:11 +0000
committerRob Savoye <rob@cygnus>1993-09-10 17:35:11 +0000
commit3f677d9e6ea4fab1887e03397ae13f27f1d34035 (patch)
tree7584f84d0daa63fd7b61a834eb5b0cbf8cdf3af5 /gdb/testsuite/config
parent1964686f00d034ff963fb1cfa94faa09dfa0f297 (diff)
downloadgdb-3f677d9e6ea4fab1887e03397ae13f27f1d34035.zip
gdb-3f677d9e6ea4fab1887e03397ae13f27f1d34035.tar.gz
gdb-3f677d9e6ea4fab1887e03397ae13f27f1d34035.tar.bz2
Added gdb_exit to call default_gdb_exit.
Diffstat (limited to 'gdb/testsuite/config')
-rw-r--r--gdb/testsuite/config/mips-gdb.exp6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/testsuite/config/mips-gdb.exp b/gdb/testsuite/config/mips-gdb.exp
index c15dfb2..38ce30f 100644
--- a/gdb/testsuite/config/mips-gdb.exp
+++ b/gdb/testsuite/config/mips-gdb.exp
@@ -203,6 +203,12 @@ expect_after {
"Undefined command" { error "send string probably wrong." }
}
+proc gdb_exit { } {
+ global shell_id
+ exit_remote_shell $shell_id
+ catch default_gdb_exit
+}
+
gdb_start
# make sure gdb has actually started, otherwise if the first test