Index: gdb/testsuite/gdb.base/foll-exec.exp |
diff --git a/gdb/testsuite/gdb.base/foll-exec.exp b/gdb/testsuite/gdb.base/foll-exec.exp |
index 41e573298f820fab35c7549d8cae0efcc7bd168b..5ab3ebca1300d4673a88656e017157b939639fc0 100644 |
--- a/gdb/testsuite/gdb.base/foll-exec.exp |
+++ b/gdb/testsuite/gdb.base/foll-exec.exp |
@@ -17,6 +17,11 @@ if { [is_remote target] || ![isnative] } then { |
continue |
} |
+# Until "catch exec" is implemented on other targets... |
+# |
+if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then { |
+ continue |
+} |
set testfile "foll-exec" |
set testfile2 "execd-prog" |
@@ -36,13 +41,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb |
return -1 |
} |
- |
-# Until "catch exec" is implemented on other targets... |
-# |
-if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then { |
- continue |
-} |
- |
proc zap_session {} { |
global gdb_prompt |
global binfile |