aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/eval-skip.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/eval-skip.exp')
-rw-r--r--gdb/testsuite/gdb.base/eval-skip.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/eval-skip.exp b/gdb/testsuite/gdb.base/eval-skip.exp
index 82c5fe0..aca5118 100644
--- a/gdb/testsuite/gdb.base/eval-skip.exp
+++ b/gdb/testsuite/gdb.base/eval-skip.exp
@@ -23,7 +23,7 @@
# operators, or in the non returned part of a (x ? y: z) expression.
# the part that is not evaluated is parsed and evaluated anyway, but with
# the EVAL_SKIP flag set
-#
+#
# source file "int-type.c"
#
@@ -39,7 +39,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
return -1
}
-clean_restart ${binfile}
+clean_restart
+gdb_load $binfile
if {![runto_main]} {