diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/twice.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/twice.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/twice.exp b/gdb/testsuite/gdb.base/twice.exp index 6f49c46..83d271d 100644 --- a/gdb/testsuite/gdb.base/twice.exp +++ b/gdb/testsuite/gdb.base/twice.exp @@ -32,7 +32,8 @@ if { [gdb_compile $local_srcfile "${binfile}" executable $options] != "" } { # Start with a fresh gdb. -clean_restart $binfile +clean_restart +gdb_load $binfile if {[runto_main]} { # Test that GDB can still detect whether we have line numbers @@ -47,4 +48,4 @@ if {[runto_main]} { gdb_test "step" "nothing \\(\\) at.*" } -remote_exec build "rm -f twice.c" +remote_exec build "rm -f twice.c" |