aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.server/monitor-exit-quit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.server/monitor-exit-quit.exp')
-rw-r--r--gdb/testsuite/gdb.server/monitor-exit-quit.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.server/monitor-exit-quit.exp b/gdb/testsuite/gdb.server/monitor-exit-quit.exp
index ce63560..74842a0 100644
--- a/gdb/testsuite/gdb.server/monitor-exit-quit.exp
+++ b/gdb/testsuite/gdb.server/monitor-exit-quit.exp
@@ -34,7 +34,7 @@ save_vars { GDBFLAGS } {
set GDBFLAGS "$GDBFLAGS -ex \"set sysroot\""
}
- clean_restart $binfile
+ clean_restart $::testfile
}
# Make sure we're disconnected, in case we're testing with an
@@ -70,7 +70,7 @@ gdb_test_multiple "quit" "" {
# Cleanup, as in default_gdb_exit.
if { $do_cleanup } {
- if ![is_remote host] {
+ if { ![is_remote host] } {
remote_close host
}
unset gdb_spawn_id