Index: gdb/testsuite/lib/trace-support.exp |
diff --git a/gdb/testsuite/lib/trace-support.exp b/gdb/testsuite/lib/trace-support.exp |
index ef28ec8f289a65e5a0fe55919b24a1ec0a8cb3ee..35a8a9db38801f11a807d375bbc519c1c5e57c53 100644 |
--- a/gdb/testsuite/lib/trace-support.exp |
+++ b/gdb/testsuite/lib/trace-support.exp |
@@ -301,3 +301,15 @@ proc gdb_find_recursion_test_baseline { filename } { |
} |
return $baseline; |
} |
+ |
+# Return the location of the IPA library. |
+ |
+proc get_in_proc_agent {} { |
+ global objdir |
+ |
+ if [target_info exists in_proc_agent] { |
+ return [target_info in_proc_agent] |
+ } else { |
+ return $objdir/../gdbserver/libinproctrace.so |
+ } |
+} |