Make the default sysroot be "target:"
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / break-probes.exp
index 1591c336e3ce7c12b309f22fbfedff5cab9411ee..00ca458387c917ff5397c642c5be9437df45f0ac 100644 (file)
@@ -66,6 +66,10 @@ if { $using_probes } {
        }
     }
 
+    # GDB strips "target:" from the start of filenames
+    # when operating on the local filesystem
+    regsub "^target:" "$sysroot" "(target:)?" sysroot
+
     # Run til it loads our library
     set test "run til our library loads"
     set not_loaded_library 1
This page took 0.027956 seconds and 4 git commands to generate.