diff options
Diffstat (limited to 'gdb/testsuite/gdb.trace/trace-mt.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/trace-mt.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.trace/trace-mt.exp b/gdb/testsuite/gdb.trace/trace-mt.exp index 634bd85..b580344 100644 --- a/gdb/testsuite/gdb.trace/trace-mt.exp +++ b/gdb/testsuite/gdb.trace/trace-mt.exp @@ -107,7 +107,7 @@ foreach break_always_inserted { "on" "off" } { step_over_tracepoint "trace" set libipa [get_in_proc_agent] -gdb_load_shlib $libipa +set remote_libipa [gdb_load_shlib $libipa] # Compile test case again with IPA. if { [gdb_compile_pthreads "$srcdir/$subdir/$srcfile" $binfile \ @@ -123,7 +123,7 @@ if ![runto_main] { } gdb_reinitialize_dir $srcdir/$subdir -if { [gdb_test "info sharedlibrary" ".*${libipa}.*" "IPA loaded"] != 0 } { +if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { untested "Could not find IPA lib loaded" } else { foreach break_always_inserted { "on" "off" } { |