Error in build_executable_own_libs for non-native target
[deliverable/binutils-gdb.git] / gdb / testsuite / lib / prelink-support.exp
index a0fb12b0bd17c4dce7779ad7c9903fb6fdc57e9f..113a078574df55fe39d49c1de5d9cd74c4bc6a04 100644 (file)
@@ -118,6 +118,10 @@ proc file_copy {src dest} {
 proc build_executable_own_libs {testname executable sources options {interp ""} {dir ""}} {
     global subdir
 
+    if { ![isnative] } {
+       error "This proc can be only used for native target."
+    }
+
     if {[build_executable $testname $executable $sources $options] == -1} {
        return ""
     }
This page took 0.024833 seconds and 4 git commands to generate.