Implement pahole-like 'ptype /o' option
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / catch-fork-static.exp
index 78ce95e6b8ceb431e9e672cb13fa2c21a939c7a2..0a4bc6359ca61c54d1cfb666d31591a005c967f3 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2015 Free Software Foundation, Inc.
+# Copyright (C) 2015-2017 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # ld.so probes before reaching main, and ptrace flags were set then.  But a
 # static executable would just keep running and never catch the fork.
 
-if { [is_remote target] || ![isnative] } then {
-    continue
-}
-
 # Until "catch fork" is implemented on other targets...
 #
 if { ![istarget "*-*-linux*"] && ![istarget "*-*-openbsd*"] } then {
@@ -34,7 +30,7 @@ if { ![istarget "*-*-linux*"] && ![istarget "*-*-openbsd*"] } then {
 # Reusing foll-fork.c since it's a simple forking program.
 standard_testfile foll-fork.c
 
-if { [prepare_for_testing ${testfile}.exp ${testfile} $srcfile \
+if { [prepare_for_testing "failed to prepare" ${testfile} $srcfile \
       {additional_flags=-static}] } {
     return -1
 }
This page took 0.025226 seconds and 4 git commands to generate.