Run gdb.base/catch-fork-static.exp on remote target boards
authorPedro Alves <palves@redhat.com>
Thu, 12 Oct 2017 19:06:59 +0000 (20:06 +0100)
committerPedro Alves <palves@redhat.com>
Thu, 12 Oct 2017 19:06:59 +0000 (20:06 +0100)
Another case of a stale check.  We support following forks in the
remote protocol nowadays.

gdb/testsuite/ChangeLog:
2017-10-12  Pedro Alves  <palves@redhat.com>
    Simon Marchi  <simon.marchi@polymtl.ca>

* gdb.base/catch-fork-static.exp: No longer skip on is_remote
target boards.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/catch-fork-static.exp

index 48769145ce897115d2ef6a8ea8d5ad9e06194c68..3d2df7d00b6d48704a11a32a4d66210eaed39199 100644 (file)
@@ -1,3 +1,9 @@
+2017-10-12  Pedro Alves  <palves@redhat.com>
+           Simon Marchi  <simon.marchi@polymtl.ca>
+
+       * gdb.base/catch-fork-static.exp: No longer skip on is_remote
+       target boards.
+
 2017-10-12  Pedro Alves  <palves@redhat.com>
            Simon Marchi  <simon.marchi@polymtl.ca>
 
index 2a960047bf39303f4bcc3e2afdf43ef2c69dfa35..0a4bc6359ca61c54d1cfb666d31591a005c967f3 100644 (file)
 # 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 {