aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@efficios.com>2021-09-10 16:42:52 -0400
committerSimon Marchi <simon.marchi@polymtl.ca>2021-09-27 16:55:46 -0400
commit09c0623ade7dcff1c5291a644397fdf714949edf (patch)
tree328c1fd7a9fa877f322e847ead9357521cd9e2ce
parent59767d3c391672c0437867ac61baa83975ef53d4 (diff)
downloadgdb-09c0623ade7dcff1c5291a644397fdf714949edf.zip
gdb-09c0623ade7dcff1c5291a644397fdf714949edf.tar.gz
gdb-09c0623ade7dcff1c5291a644397fdf714949edf.tar.bz2
gdb.base/foll-fork.exp: remove gating based on target triplet
It looks like this test has some code to check at runtime the support of fork handling of the target (see check_fork_catchpoints). So, it seems to me that the check based on target triplet at the beginning of the test is not needed. This kind of gating is generally not desirable, because we wouldn't think of updating it when adding fork support to a target. For example, FreeBSD supports fork, but it wasn't listed here. Change-Id: I6b55f2298edae6b37c3681fb8633d8ea1b5aabee
-rw-r--r--gdb/testsuite/gdb.base/foll-fork.exp7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/testsuite/gdb.base/foll-fork.exp b/gdb/testsuite/gdb.base/foll-fork.exp
index f777f2b..e6e84bd 100644
--- a/gdb/testsuite/gdb.base/foll-fork.exp
+++ b/gdb/testsuite/gdb.base/foll-fork.exp
@@ -13,13 +13,6 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Until "set follow-fork-mode" and "catch fork" are implemented on
-# other targets...
-#
-if { ![istarget "*-*-linux*"] && ![istarget "*-*-openbsd*"] } then {
- continue
-}
-
# Test relies on checking follow-fork output. Do not run if gdb debug is
# enabled as it will be redirected to the log.
if [gdb_debug_enabled] {