mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 13:56:22 +08:00
Added gdb_exit to call default_gdb_exit.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user