binutils-gdb/gdb/testsuite/gdb.multi
Pedro Alves 300b6685f1 Skip a few tests on targets that can't use the "run" commmand.
These tests want to use raw "run", so skip them on targets that can't
do that.

Also adds a small utility procedure that clearly conveys intent instead of
explicitly checking use_gdb_stub in the testcases.

This makes sure these testcases continue to be skipped with
--target_board=native-gdbserver once that board stops setting
is_remote.

gdb/testsuite/ChangeLog:
2017-10-13  Pedro Alves  <palves@redhat.com>

	* lib/gdb.exp (target_can_use_run_cmd): New procedure.
	* gdb.base/annota1.exp: Use it instead of is_remote.
	* gdb.base/annota3.exp: Use it instead of is_remote.
	* gdb.cp/annota2.exp: Use it instead of is_remote.
	* gdb.cp/annota3.exp: Use it instead of is_remote.
	* gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2017-10-13 18:11:31 +01:00
..
base.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
bkpt-multi-exec.c [testsuite] Remove BASEDIR 2016-02-04 15:46:37 +00:00
bkpt-multi-exec.exp Skip a few tests on targets that can't use the "run" commmand. 2017-10-13 18:11:31 +01:00
crashme.c
dummy-frame-restore.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
dummy-frame-restore.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
goodbye.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
hangout.c Fix "Remote 'g' packet reply is too long" problems with multiple inferiors 2017-10-04 18:23:22 +01:00
hello.c Fix "Remote 'g' packet reply is too long" problems with multiple inferiors 2017-10-04 18:23:22 +01:00
info-threads.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
multi-arch-exec.c Multi-arch exec, more register reading avoidance 2017-10-09 18:11:01 +01:00
multi-arch-exec.exp gdb.multi/multi-arch-exec.exp: Also test -m32 => -m64 2017-10-09 18:11:02 +01:00
multi-arch.exp Fix "Remote 'g' packet reply is too long" problems with multiple inferiors 2017-10-04 18:23:22 +01:00
multi-attach.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
multi-attach.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
remove-inferiors.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
remove-inferiors.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tids.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
tids.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
watchpoint-multi-exit.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
watchpoint-multi-exit.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
watchpoint-multi.c update copyright year range in GDB files 2017-01-01 10:52:34 +04:00
watchpoint-multi.exp update copyright year range in GDB files 2017-01-01 10:52:34 +04:00