simple changes in gdb.base
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / jit-so.exp
index 70f2a7d3a3b3959b5d18c6ccf935eb48a433a0bd..67682cfc730292f257e8ff66ef986711710f82fb 100644 (file)
@@ -61,7 +61,11 @@ if { [gdb_compile_shlib ${solib_srcfile} ${solib_binfile} {}] != "" } {
     return -1
 }
 
-set solib_binfile_target [gdb_download ${solib_binfile}]
+if {[is_remote target]} {
+    set solib_binfile_target [gdb_download ${solib_binfile}]
+} else {
+    set solib_binfile_target $solib_binfile
+}
 
 proc one_jit_test {count match_str} {
     with_test_prefix "one_jit_test-$count" {
This page took 0.024555 seconds and 4 git commands to generate.