This changes many tests to use 'require' when checking target_info.
In a few spots, the require is hoisted to the top of the file, to
avoid doing any extra work when the test is going to be skipped
anyway.
# This is a test for the gdb invocation option --args.
# Skip test if target does not support argument passing.
-if [target_info exists noargs] {
- return
-}
+require {!target_info exists noargs}
# This test requires starting new inferior processes, skip it if the target
# board is a stub.
# the terminal (between the stop and the re-resume), the resulting
# "Quit" doesn't mess up the debug session.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
# This test requires sending ^C to interrupt the running target.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping branch-to-self.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
# Some targets can't call functions, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
# Create and source the file that provides information about the compiler
# used to compile the test case.
# corresponding source file: call_return_struct.c
-
+# Some targets can't do function calls, so don't even bother with this
+# test.
+require {!target_info exists gdb,cannot_call_functions}
standard_testfile .c
return -1
}
-# Some targets can't do function calls, so don't even bother with this
-# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
-
set allow_float_test [allow_float_test]
# Start with a fresh gdb.
# Some targets can't call functions, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
standard_testfile .c
# 2) Inferior is stopped at a signal. Upon resumption it should continue
# with that signal, regardless of whatever the hand-called function did.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping call-signal-resume.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
+
+# Some targets can't do function calls, so don't even bother with this
+# test.
+require {!target_info exists gdb,cannot_call_functions}
standard_testfile call-signals.c
return -1
}
-# Some targets can't do function calls, so don't even bother with this
-# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
-
proc get_dummy_frame_number { } {
global gdb_prompt
# Some targets can't call functions, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
# Some targets can't do function calls, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
# Start with a fresh gdb.
# Some targets can't do function calls, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
set allow_float_test [allow_float_test]
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if {[target_info exists gdb,cannot_call_functions]} {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
standard_testfile .c
# Some targets can't call functions, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "cannot call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
set dp_location [gdb_get_line_number "set dprintf here"]
set bp_location [gdb_get_line_number "set breakpoint here"]
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping catch-signal-fork.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
# 56 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
# (gdb) FAIL: gdb.base/catch-signal-siginfo-cond.exp: continue
-if [target_info exists gdb,nosignals] {
- verbose "Skipping catch-signal-siginfo-cond.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
require supports_get_siginfo_type
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping catch-signal.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
# killed by a signal. However, if it was killed by an uncaught
# signal, then there is no way for it to have exited.
-if { [target_info exists gdb,nosignals] } {
- verbose "Skipping exitsignal.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile segv.c
# This file was written by Corinna Vinschen <vinschen@redhat.com>
-if [target_info exists gdb,nofileio] {
- verbose "Skipping fileio.exp because of no fileio capabilities."
- return
-}
+require {!target_info exists gdb,nofileio}
standard_testfile
# Define if you want to skip this test
# (could be very time-consuming on remote targets with slow connection).
#
-if [target_info exists gdb,skip_huge_test] {
- return
-}
+require {!target_info exists gdb,skip_huge_test}
standard_testfile .c
standard_testfile
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
return -1
# Test running an inferior with arguments.
# This does not work on boards that don't support inferior arguments.
-if {[target_info exists noargs]} {
- verbose "skipping gdb.base/inferior-args.exp because of noargs"
- return
-}
+require {!target_info exists noargs}
standard_testfile .c
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. */
-if [target_info exists gdb,nosignals] {
- verbose "Skipping interrupt-daemon-attach.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
# This test requires sending ^C to interrupt the running target.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping interrupt-daemon-attach.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
require can_spawn_for_attach
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping interrupt.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
-if [target_info exists gdb,noinferiorio] {
- verbose "Skipping interrupt.exp because of noinferiorio."
- return
-}
+require {!target_info exists gdb,noinferiorio}
standard_testfile
require can_single_step_to_signal_handler
-if [target_info exists gdb,nosignals] {
- verbose "Skipping kill-after-signal.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
if [prepare_for_testing "failed to prepare" ${testfile}] {
return -1
#
# 4. The breakpoint is never reached.
-if [target_info exists gdb,noinferiorio] {
- verbose "Skipping because of noinferiorio."
- return
-}
+require {!target_info exists gdb,noinferiorio}
standard_testfile
# long_long.exp Test printing of 64-bit things in 32-bit gdb.
# Also test differnet kinds of formats.
#
-if [target_info exists no_long_long] {
- return 0
-}
+require {!target_info exists no_long_long}
standard_testfile .c
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping paginate-after-ctrl-c-running.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping catch-signal.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
# This test requires sending ^C to interrupt the running target.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping random-signal.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping relativedebug.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
# instructions executed to perform the call may affect "info frame"
# output.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping savedregs.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigall.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
# This test confirms that GDB can both backtrace through and finish
# such a stack.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigaltstack.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
# instruction. Since the kernel problems can be "fixed" using
# software single-step this is KFAILed rather than XFAILed.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigbpt.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
# Check that GDB isn't messing the SIGCHLD mask while creating an
# inferior.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigchld.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
# This test confirms that the si_addr value is correct rather than
# having been corrupted when GDB passed the signal on to the handler.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping siginfo-addr.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping siginfo-infcall.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
# This test confirms that we can inspect signal info using the
# $_siginfo convenience variable.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping siginfo-obj.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
require supports_get_siginfo_type
# Multi-threaded siginfo test.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping siginfo-thread.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
require supports_get_siginfo_type
# alternative sa_sigaction signal handler, and second that GDB can
# nexti/stepi out of such a handler.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping siginfo.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping signals.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
standard_testfile
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
if [prepare_for_testing "failed to prepare" ${testfile} ${srcfile} {debug}] {
return -1
# This also tests backtrace/gdb1476.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping signull.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
# sigalrm signals and hence cause repeated signal delivery without any
# cpu advancment.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigrepeat.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .c
# This test runs the program up to the signal handler, and then
# attempts to step/next out of the handler and back into main.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigstep.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
# without readline, and, it receives a SIGWINCH. Regression test for
# PR gdb/26056.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping $subdir/$gdb_test_file_name.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
# The testfile relies on "run" from the command line, so only works
# with "target native".
# Some targets can't call functions, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
standard_testfile .c
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping unwindonsignal.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
# Some targets can't do function calls, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
standard_testfile
standard_testfile
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
if { [build_executable ${testfile}.exp ${testfile} ${testfile}.c {debug}] } {
untested "failed to compile"
require allow_cplus_tests
-if [target_info exists gdb,nosignals] {
- verbose "Skipping gdb2495.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
standard_testfile .cc
# Some targets can't do function calls, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
-}
+require {!target_info exists gdb,cannot_call_functions}
if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug c++}]} {
return -1
require allow_fortran_tests
# This test relies on output from the inferior.
-if [target_info exists gdb,noinferiorio] {
- return -1
-}
+require {!target_info exists gdb,noinferiorio}
standard_testfile ".f90"
load_lib fortran.exp
require allow_fortran_tests
+# This test relies on output from the inferior.
+require {!target_info exists gdb,noinferiorio}
+
standard_testfile ".F90"
load_lib fortran.exp
return -1
}
-# This test relies on output from the inferior.
-if [target_info exists gdb,noinferiorio] {
- return 0
-}
-
# Avoid libc symbols, in particular the 'array' type.
gdb_test_no_output "nosharedlibrary"
load_lib selftest-support.exp
-if [target_info exists gdb,noinferiorio] {
- verbose "Skipping because of no inferiorio capabilities."
- return
-}
+require {!target_info exists gdb,noinferiorio}
require allow_python_tests
# Test MI output with synthetic frames on the stack (call dummies,
# signal handlers).
-if [target_info exists gdb,nosignals] {
- verbose "Skipping mi-syn-frame.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
load_lib mi-support.exp
set MIFLAGS "-i=mi"
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping mi-threads-interrupt.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
load_lib mi-support.exp
set MIFLAGS "-i=mi"
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigall-precsave.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
require supports_reverse
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nosignals] {
- verbose "Skipping sigall-reverse.exp because of nosignals."
- return
-}
+require {!target_info exists gdb,nosignals}
require supports_reverse
require allow_gdbserver_tests
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping reconnect-ctrl-c.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
# thread, then switching to a thread that has a status pending and
# continuing.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping continue-pending-status.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
standard_testfile
-if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } {
- return -1
-}
-
# Some targets can't do function calls, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
+require {!target_info exists gdb,cannot_call_functions}
+
+if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } {
+ return -1
}
proc get_dummy_frame_number { } {
standard_testfile
-if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } {
- return -1
-}
-
# Some targets can't do function calls, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
+require {!target_info exists gdb,cannot_call_functions}
+
+if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } {
+ return -1
}
clean_restart ${binfile}
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping leader-exit.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
# Exit of the thread group leader should not break GDB.
# This file was written by Jeff Johnston. (jjohnstn@redhat.com)
# This test requires sending ^C to interrupt the running target.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping manythreads.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
standard_testfile
set executable ${testfile}
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable [list debug "incdir=${objdir}"]] != "" } {
# Verify that thread name features work properly (e.g. they show up in info
# threads).
-if [target_info exists gdb,no_thread_names] {
- return
-}
+require {!target_info exists gdb,no_thread_names}
standard_testfile
standard_testfile
set executable ${testfile}
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
set options { "additional_flags=-DTIMEOUT=$timeout" debug pthreads }
if {[prepare_for_testing "failed to prepare" $testfile $srcfile $options] == -1} {
# This file was written by Fred Fish. (fnf@cygnus.com)
# This test requires sending ^C to interrupt the running target.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping pthreads.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
# This test requires sending ^C to interrupt the running target.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping schedlock.exp because of nointerrupts."
- return
-}
+require {!target_info exists gdb,nointerrupts}
standard_testfile
standard_testfile
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable { debug }] != "" } {
standard_testfile
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable { debug }] != "" } {
standard_testfile
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable { debug }] != "" } {
standard_testfile
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
if {[build_executable "failed to prepare" $testfile $srcfile \
{debug pthreads}]} {
standard_testfile
set executable ${testfile}
-if [target_info exists gdb,nosignals] {
- verbose "Skipping ${testfile}.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable [list debug "incdir=${objdir}"]] != "" } {
standard_testfile
+# This test requires sending ^C to interrupt the running target.
+require {!target_info exists gdb,nointerrupts}
+
if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" \
executable { debug }] != "" } {
return -1
}
}
-# This test requires sending ^C to interrupt the running target.
-if [target_info exists gdb,nointerrupts] {
- verbose "Skipping sigthread.exp because of nointerrupts."
- return
-}
-
# For this to work we must be sure to consume the "Continuing."
# message first, or GDB's signal handler may not be in place.
after 500 {send_gdb "\003"}
standard_testfile interrupted-hand-call.c
-if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } {
- return -1
-}
-
# Some targets can't do function calls, so don't even bother with this
# test.
-if [target_info exists gdb,cannot_call_functions] {
- unsupported "this target can not call functions"
- return
+require {!target_info exists gdb,cannot_call_functions}
+
+if {[gdb_compile_pthreads "${srcdir}/${subdir}/${srcfile}" "${binfile}" executable [list debug "additional_flags=-DNR_THREADS=$NR_THREADS"]] != "" } {
+ return -1
}
clean_restart ${binfile}
load_lib "trace-support.exp"
-if [target_info exists gdb,nosignals] {
- verbose "Skipping signal.exp because of nosignals."
- return -1
-}
+require {!target_info exists gdb,nosignals}
standard_testfile
clean_restart
-if {[target_info exists gdb,nointerrupts]} {
- return
-}
+require {!target_info exists gdb,nointerrupts}
gdb_test_no_output "set max-completions unlimited"