diff options
Diffstat (limited to 'gdb/testsuite/gdb.trace/ftrace-lock.exp')
-rw-r--r-- | gdb/testsuite/gdb.trace/ftrace-lock.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.trace/ftrace-lock.exp b/gdb/testsuite/gdb.trace/ftrace-lock.exp index dc0174b1ce4..0b12c8d16c5 100644 --- a/gdb/testsuite/gdb.trace/ftrace-lock.exp +++ b/gdb/testsuite/gdb.trace/ftrace-lock.exp @@ -48,7 +48,7 @@ if ![gdb_target_supports_trace] { # Compile the test case with the in-process agent library. set libipa [get_in_proc_agent] -gdb_load_shlib $libipa +set remote_libipa [gdb_load_shlib $libipa] lappend options shlib=$libipa @@ -64,7 +64,7 @@ if ![runto_main] { return -1 } -if { [gdb_test "info sharedlibrary" ".*[file tail ${libipa}].*" "IPA loaded"] != 0 } { +if { [gdb_test "info sharedlibrary" ".*${remote_libipa}.*" "IPA loaded"] != 0 } { untested "Could not find IPA lib loaded" return 1 } |