Added gdb_exit to call default_gdb_exit.
authorRob Savoye <rob@cygnus>
Fri, 10 Sep 1993 17:35:11 +0000 (17:35 +0000)
committerRob Savoye <rob@cygnus>
Fri, 10 Sep 1993 17:35:11 +0000 (17:35 +0000)
gdb/testsuite/config/mips-gdb.exp

index c15dfb2..38ce30f 100644 (file)
@@ -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