aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/stack-checking.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/stack-checking.exp')
-rw-r--r--gdb/testsuite/gdb.base/stack-checking.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/stack-checking.exp b/gdb/testsuite/gdb.base/stack-checking.exp
index 5e55b43..15fc677 100644
--- a/gdb/testsuite/gdb.base/stack-checking.exp
+++ b/gdb/testsuite/gdb.base/stack-checking.exp
@@ -21,7 +21,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [con
return -1
}
-clean_restart ${binfile}
+clean_restart
+gdb_load $binfile
if {![runto_main]} {
return 0