summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.trace/actions.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.trace/actions.exp')
-rw-r--r--gdb/testsuite/gdb.trace/actions.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.trace/actions.exp b/gdb/testsuite/gdb.trace/actions.exp
index 913a2ec7cb2..f786aedc31d 100644
--- a/gdb/testsuite/gdb.trace/actions.exp
+++ b/gdb/testsuite/gdb.trace/actions.exp
@@ -235,6 +235,9 @@ gdb_test "info tracepoints" \
\[\t \]+not installed on target." \
"5.10a: verify teval actions set for two tracepoints"
+# Load the binary to the target too.
+gdb_load $binfile
+
# Can't use runto_main here, because that would delete the tracepoints
# created above.
gdb_breakpoint "main"