aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/lib/future.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/lib/future.exp')
-rw-r--r--gdb/testsuite/lib/future.exp10
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/testsuite/lib/future.exp b/gdb/testsuite/lib/future.exp
index 5d53e93..422342b 100644
--- a/gdb/testsuite/lib/future.exp
+++ b/gdb/testsuite/lib/future.exp
@@ -84,6 +84,16 @@ proc gdb_find_go_linker {} {
return [find_go]
}
+proc gdb_find_ldd {} {
+ global LDD_FOR_TARGET
+ if [info exists LDD_FOR_TARGET] {
+ set ldd $LDD_FOR_TARGET
+ } else {
+ set ldd "ldd"
+ }
+ return $ldd
+}
+
proc gdb_default_target_compile {source destfile type options} {
global target_triplet
global tool_root_dir