aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/cond-expr.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/cond-expr.exp')
-rw-r--r--gdb/testsuite/gdb.base/cond-expr.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/cond-expr.exp b/gdb/testsuite/gdb.base/cond-expr.exp
index e60fd16..31c2545 100644
--- a/gdb/testsuite/gdb.base/cond-expr.exp
+++ b/gdb/testsuite/gdb.base/cond-expr.exp
@@ -18,7 +18,7 @@
# This file is part of the gdb testsuite
#
-# test of evaluation of conditional expressions, with constants and
+# test of evaluation of conditional expressions, with constants and
# variables. Using the print and the whatis command
# written with the only purpose in mind to cover the holes in the
# eval.c file
@@ -39,7 +39,8 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb
}
-clean_restart ${binfile}
+clean_restart
+gdb_load $binfile
if {![runto_main]} {