diff options
Diffstat (limited to 'gdb/testsuite/lib/trace-support.exp')
-rw-r--r-- | gdb/testsuite/lib/trace-support.exp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/trace-support.exp b/gdb/testsuite/lib/trace-support.exp index ef28ec8..35a8a9d 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 + } +} |