aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/catch-load.exp')
-rw-r--r--gdb/testsuite/gdb.base/catch-load.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/catch-load.exp b/gdb/testsuite/gdb.base/catch-load.exp
index 787d360ddc0..97fe7d11174 100644
--- a/gdb/testsuite/gdb.base/catch-load.exp
+++ b/gdb/testsuite/gdb.base/catch-load.exp
@@ -47,12 +47,12 @@ if { [gdb_compile_shlib "${srcdir}/${subdir}/${srcfile2}" ${binfile2} {debug}] !
# KIND is passed to the "catch" command.
# MATCH is a boolean saying whether we expect the catchpoint to be hit.
proc one_catch_load_test {scenario kind match sostop} { with_test_prefix "${scenario}" {
- global verbose testfile testfile2 binfile2_dlopen
+ global verbose testfile testfile2 binfile2 binfile2_dlopen
global srcfile
global decimal gdb_prompt
clean_restart $testfile
- gdb_load_shlibs $binfile2_dlopen
+ gdb_load_shlibs $binfile2
if {![runto_main]} {
fail "can't run to main"