From: Rob Savoye Date: Fri, 10 Sep 1993 17:35:11 +0000 (+0000) Subject: Added gdb_exit to call default_gdb_exit. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f677d9e6ea4fab1887e03397ae13f27f1d34035;p=binutils-gdb.git Added gdb_exit to call default_gdb_exit. --- diff --git a/gdb/testsuite/config/mips-gdb.exp b/gdb/testsuite/config/mips-gdb.exp index c15dfb2514e..38ce30ff3ee 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