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 c15dfb2514e05693d0d5a6d225255000ceecee0c..38ce30ff3ee11df856e3ad65d9b42dddb46bdc97 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