Index: gdb/testsuite/gdb.base/foll-fork.exp |
diff --git a/gdb/testsuite/gdb.base/foll-fork.exp b/gdb/testsuite/gdb.base/foll-fork.exp |
index 8299a79d90ad7c7df69346157f0127329e5066da..c399c4dd0962de1ee43c2e21b07bf823be56a4ce 100644 |
--- a/gdb/testsuite/gdb.base/foll-fork.exp |
+++ b/gdb/testsuite/gdb.base/foll-fork.exp |
@@ -17,6 +17,12 @@ if { [is_remote target] || ![isnative] } then { |
continue |
} |
+# Until "set follow-fork-mode" and "catch fork" are implemented on |
+# other targets... |
+# |
+if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then { |
+ continue |
+} |
global srcfile |
set testfile "foll-fork" |
@@ -28,15 +34,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb |
return -1 |
} |
- |
- |
-# Until "set follow-fork-mode" and "catch fork" are implemented on |
-# other targets... |
-# |
-if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then { |
- continue |
-} |
- |
proc check_fork_catchpoints {} { |
global gdb_prompt |