aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/jit.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/jit.exp')
-rw-r--r--gdb/testsuite/gdb.base/jit.exp6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/testsuite/gdb.base/jit.exp b/gdb/testsuite/gdb.base/jit.exp
index da9449b..17024e4 100644
--- a/gdb/testsuite/gdb.base/jit.exp
+++ b/gdb/testsuite/gdb.base/jit.exp
@@ -57,11 +57,7 @@ proc compile_jit_test {testname binsuffix options} {
return -1
}
- if {[is_remote target]} {
- set solib_binfile_target [gdb_download ${solib_binfile}]
- } else {
- set solib_binfile_target $solib_binfile
- }
+ set solib_binfile_target [gdb_remote_download target ${solib_binfile}]
return 0
}