gdb/testsuite:
2014-09-30 Yao Qi <yao@codesourcery.com>
* lib/prelink-support.exp (build_executable_own_libs): Error if
the target isn't native.
+2014-09-30 Yao Qi <yao@codesourcery.com>
+
+ * lib/prelink-support.exp (build_executable_own_libs): Error if
+ the target isn't native.
+
2014-09-30 Yao Qi <yao@codesourcery.com>
* gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
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 ""
}