aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/hook-stop.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/hook-stop.exp')
-rw-r--r--gdb/testsuite/gdb.base/hook-stop.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/hook-stop.exp b/gdb/testsuite/gdb.base/hook-stop.exp
index a7b6ccd..1c774ce 100644
--- a/gdb/testsuite/gdb.base/hook-stop.exp
+++ b/gdb/testsuite/gdb.base/hook-stop.exp
@@ -37,7 +37,8 @@ proc define_hook_stop {commands} {
proc setup {commands} {
global srcfile binfile
- clean_restart $binfile
+ clean_restart
+ gdb_load $binfile
if {![runto_main]} {
return -code return