Added gdb_exit to call default_gdb_exit.

This commit is contained in:
Rob Savoye 1993-09-10 17:35:11 +00:00
parent 1964686f00
commit 3f677d9e6e
1 changed files with 6 additions and 0 deletions

View 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