Index: gdb/testsuite/gdb.base/catch-syscall.exp |
diff --git a/gdb/testsuite/gdb.base/catch-syscall.exp b/gdb/testsuite/gdb.base/catch-syscall.exp |
index 1a7a6057affee35f2ec3f1a1a7288fc4b2ec6c81..9054cfe04843544886ce978cd035af34f633a021 100644 |
--- a/gdb/testsuite/gdb.base/catch-syscall.exp |
+++ b/gdb/testsuite/gdb.base/catch-syscall.exp |
@@ -24,6 +24,20 @@ if { [is_remote target] || ![isnative] } then { |
continue |
} |
+# Until "catch syscall" is implemented on other targets... |
+if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then { |
+ continue |
+} |
+ |
+# This shall be updated whenever 'catch syscall' is implemented |
+# on some architecture. |
+#if { ![istarget "i\[34567\]86-*-linux*"] |
+if { ![istarget "x86_64-*-linux*"] && ![istarget "i\[34567\]86-*-linux*"] |
+ && ![istarget "powerpc-*-linux*"] && ![istarget "powerpc64-*-linux*"] |
+ && ![istarget "sparc-*-linux*"] && ![istarget "sparc64-*-linux*"] |
+ && ![istarget "mips*-linux*"] } { |
+ continue |
+} |
global srcfile |
set testfile "catch-syscall" |
@@ -44,21 +58,6 @@ if { [gdb_compile "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable {deb |
return -1 |
} |
-# Until "catch syscall" is implemented on other targets... |
-if {![istarget "hppa*-hp-hpux*"] && ![istarget "*-linux*"]} then { |
- continue |
-} |
- |
-# This shall be updated whenever 'catch syscall' is implemented |
-# on some architecture. |
-#if { ![istarget "i\[34567\]86-*-linux*"] |
-if { ![istarget "x86_64-*-linux*"] && ![istarget "i\[34567\]86-*-linux*"] |
- && ![istarget "powerpc-*-linux*"] && ![istarget "powerpc64-*-linux*"] |
- && ![istarget "sparc-*-linux*"] && ![istarget "sparc64-*-linux*"] |
- && ![istarget "mips*-linux*"] } { |
- continue |
-} |
- |
# Internal procedure used to check if, after issuing a 'catch syscall' |
# command (without arguments), the 'info breakpoints' command displays |
# that '"any syscall"' is to be caught. |