aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/rtld-step.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/rtld-step.exp')
-rw-r--r--gdb/testsuite/gdb.base/rtld-step.exp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/rtld-step.exp b/gdb/testsuite/gdb.base/rtld-step.exp
index 242cd47..a2086a1 100644
--- a/gdb/testsuite/gdb.base/rtld-step.exp
+++ b/gdb/testsuite/gdb.base/rtld-step.exp
@@ -53,7 +53,7 @@ set binfile_rtld [standard_output_file ${rtld_basename}]
# the flags -static-pie -fPIE were needed for Fedora 35 through Fedora
# 38. The source file rtld-step-rtld.c didn't need the _start()
# function either. And, better still, it was possible to call
-# printf() to output progress messages in the pretend/fake RTLD.
+# printf() to output progress messages in the pretend/fake RTLD.
# Sadly, these output statements had to be removed in order to obtain
# code which would work on other Linux distributions / releases.
#
@@ -114,7 +114,8 @@ if { [gdb_compile ${srcfile_main} ${binfile_main} executable $main_flags] != ""
return -1
}
-clean_restart ${binfile_main}
+clean_restart
+gdb_load $binfile_main
if {![runto_main]} {
return 0