# Until "set follow-fork-mode" and "catch fork" are implemented on
# other targets...
#
-if {![istarget "*-*-linux*"]} {
- return
-}
+require {istarget "*-*-linux*"}
# Checkpoint support is currently implemented in the Linux native
# target, so only works with "target native".
# Until "catch exec" is implemented on other targets...
#
-if {![istarget "*-linux*"]} {
- return
-}
+require {istarget "*-linux*"}
standard_testfile foll-exec-mode.c
# Until "catch exec" is implemented on other targets...
#
-if {![istarget "*-linux*"]} {
- return
-}
+require {istarget "*-linux*"}
standard_testfile foll-exec.c
# Until "set follow-fork-mode" and "catch fork" are implemented on
# other targets...
#
-if {![istarget "*-*-linux*"]} {
- unsupported "inferior-died.exp"
- return
-}
+require {istarget "*-*-linux*"}
require support_displaced_stepping
# inferior that used the JIT API then exec'd a program that did not
# use it.
-if {![istarget "*-linux*"]} {
- return
-}
+require {istarget "*-linux*"}
standard_testfile jit-reader-exec.c
# Until "set follow-fork-mode" and "catch fork" are implemented on
# other targets...
#
-if {![istarget "*-*-linux*"]} {
- return
-}
+require {istarget "*-*-linux*"}
standard_testfile .c
global inferior_spawn_id
global gdb_spawn_id
-if ![istarget *-linux*] {
- return
-}
+require {istarget *-linux*}
# In remote mode we cannot use the 'set args' command, and this
# test requires it.
standard_testfile
-if { ![istarget "x86*"] } {
- return
-}
+require {istarget "x86*"}
set cflags "-mindirect-branch=thunk -mfunction-return=thunk"
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# This test only works for native processes on GNU/Linux.
-if {[target_info gdb_protocol] != "" || ![istarget *-linux*]} {
+if {[target_info gdb_protocol] != ""} {
return
}
+require {istarget *-linux*}
# Test relies on checking gdb debug output. Do not run if gdb debug is
# enabled as any debug will be redirected to the log.