Use require with istarget
authorTom Tromey <tom@tromey.com>
Sun, 22 Jan 2023 05:41:25 +0000 (22:41 -0700)
committerTom Tromey <tom@tromey.com>
Wed, 25 Jan 2023 16:02:11 +0000 (09:02 -0700)
commit73c06197483d1dcb82d17580f60d94ebfecf7a3b
tree0428d72d316845e4d9518dd0fce136477f358f83
parent9c5221887f011a0dec54dbcdaf833e913cb68429
Use require with istarget

This changes many tests to use require when checking 'istarget'.  A
few of these conversions were already done in earlier patches.

No change was needed to 'require' to make this work, due to the way it
is written.  I think the result looks pretty clear, and it has the
bonus of helping to ensure that the reason that a test is skipped is
always logged.
125 files changed:
gdb/testsuite/gdb.arch/aix-sighandle.exp
gdb/testsuite/gdb.arch/alpha-step.exp
gdb/testsuite/gdb.arch/altivec-abi.exp
gdb/testsuite/gdb.arch/altivec-regs.exp
gdb/testsuite/gdb.arch/amd64-break-on-asm-line.exp
gdb/testsuite/gdb.arch/amd64-byte.exp
gdb/testsuite/gdb.arch/amd64-disp-step-avx.exp
gdb/testsuite/gdb.arch/amd64-disp-step.exp
gdb/testsuite/gdb.arch/amd64-dword.exp
gdb/testsuite/gdb.arch/amd64-entry-value-inline.exp
gdb/testsuite/gdb.arch/amd64-entry-value-param-dwarf5.exp
gdb/testsuite/gdb.arch/amd64-entry-value-paramref.exp
gdb/testsuite/gdb.arch/amd64-entry-value.exp
gdb/testsuite/gdb.arch/amd64-eval.exp
gdb/testsuite/gdb.arch/amd64-invalid-stack-middle.exp
gdb/testsuite/gdb.arch/amd64-invalid-stack-top.exp
gdb/testsuite/gdb.arch/amd64-optimout-repeat.exp
gdb/testsuite/gdb.arch/amd64-osabi.exp
gdb/testsuite/gdb.arch/amd64-prologue-skip.exp
gdb/testsuite/gdb.arch/amd64-prologue-xmm.exp
gdb/testsuite/gdb.arch/amd64-stap-expressions.exp
gdb/testsuite/gdb.arch/amd64-stap-special-operands.exp
gdb/testsuite/gdb.arch/amd64-stap-wrong-subexp.exp
gdb/testsuite/gdb.arch/amd64-tailcall-cxx.exp
gdb/testsuite/gdb.arch/amd64-tailcall-noret.exp
gdb/testsuite/gdb.arch/amd64-tailcall-self.exp
gdb/testsuite/gdb.arch/amd64-word.exp
gdb/testsuite/gdb.arch/arc-analyze-prologue.exp
gdb/testsuite/gdb.arch/arc-decode-insn.exp
gdb/testsuite/gdb.arch/arc-disassembler-options.exp
gdb/testsuite/gdb.arch/arm-cmse-sgstubs.exp
gdb/testsuite/gdb.arch/arm-disassembler-options.exp
gdb/testsuite/gdb.arch/avr-flash-qualifier.exp
gdb/testsuite/gdb.arch/e500-abi.exp
gdb/testsuite/gdb.arch/e500-prologue.exp
gdb/testsuite/gdb.arch/e500-regs.exp
gdb/testsuite/gdb.arch/gdb1291.exp
gdb/testsuite/gdb.arch/gdb1431.exp
gdb/testsuite/gdb.arch/gdb1558.exp
gdb/testsuite/gdb.arch/i386-avx.exp
gdb/testsuite/gdb.arch/i386-mpx-call.exp
gdb/testsuite/gdb.arch/i386-mpx-map.exp
gdb/testsuite/gdb.arch/i386-mpx-sigsegv.exp
gdb/testsuite/gdb.arch/i386-mpx-simple_segv.exp
gdb/testsuite/gdb.arch/i386-mpx.exp
gdb/testsuite/gdb.arch/i386-prologue-skip-cf-protection.exp
gdb/testsuite/gdb.arch/ia64-breakpoint-shadow.exp
gdb/testsuite/gdb.arch/iwmmxt-regs.exp
gdb/testsuite/gdb.arch/mips-disassembler-options.exp
gdb/testsuite/gdb.arch/mips-fcr.exp
gdb/testsuite/gdb.arch/mips-fpregset-core.exp
gdb/testsuite/gdb.arch/mips-octeon-bbit.exp
gdb/testsuite/gdb.arch/mips16-thunks.exp
gdb/testsuite/gdb.arch/powerpc-addpcis.exp
gdb/testsuite/gdb.arch/powerpc-aix-prologue.exp
gdb/testsuite/gdb.arch/powerpc-altivec.exp
gdb/testsuite/gdb.arch/powerpc-altivec2.exp
gdb/testsuite/gdb.arch/powerpc-altivec3.exp
gdb/testsuite/gdb.arch/powerpc-d128-regs.exp
gdb/testsuite/gdb.arch/powerpc-disassembler-options.exp
gdb/testsuite/gdb.arch/powerpc-fpscr-gcore.exp
gdb/testsuite/gdb.arch/powerpc-htm-regs.exp
gdb/testsuite/gdb.arch/powerpc-lnia.exp
gdb/testsuite/gdb.arch/powerpc-plxv-nonrel.exp
gdb/testsuite/gdb.arch/powerpc-power10.exp
gdb/testsuite/gdb.arch/powerpc-power7.exp
gdb/testsuite/gdb.arch/powerpc-power8.exp
gdb/testsuite/gdb.arch/powerpc-power9.exp
gdb/testsuite/gdb.arch/powerpc-ppr-dscr.exp
gdb/testsuite/gdb.arch/powerpc-prologue-frame.exp
gdb/testsuite/gdb.arch/powerpc-prologue.exp
gdb/testsuite/gdb.arch/powerpc-stackless.exp
gdb/testsuite/gdb.arch/powerpc-tar.exp
gdb/testsuite/gdb.arch/powerpc-vector-regs.exp
gdb/testsuite/gdb.arch/powerpc-vsx-gcore.exp
gdb/testsuite/gdb.arch/powerpc-vsx.exp
gdb/testsuite/gdb.arch/powerpc-vsx2.exp
gdb/testsuite/gdb.arch/powerpc-vsx3.exp
gdb/testsuite/gdb.arch/powerpc64-prologue.exp
gdb/testsuite/gdb.arch/ppc-dfp.exp
gdb/testsuite/gdb.arch/ppc-fp.exp
gdb/testsuite/gdb.arch/ppc-longdouble.exp
gdb/testsuite/gdb.arch/ppc64-atomic-inst.exp
gdb/testsuite/gdb.arch/ppc64-break-on-_exit.exp
gdb/testsuite/gdb.arch/ppc64-isa207-atomic-inst.exp
gdb/testsuite/gdb.arch/riscv-bp-infcall.exp
gdb/testsuite/gdb.arch/riscv-default-tdesc.exp
gdb/testsuite/gdb.arch/riscv-info-fcsr.exp
gdb/testsuite/gdb.arch/riscv-reg-aliases.exp
gdb/testsuite/gdb.arch/riscv-tdesc-loading.exp
gdb/testsuite/gdb.arch/riscv-tdesc-regs.exp
gdb/testsuite/gdb.arch/riscv-unwind-long-insn.exp
gdb/testsuite/gdb.arch/riscv64-unwind-prologue-with-ld-lw.exp
gdb/testsuite/gdb.arch/riscv64-unwind-prologue-with-mv.exp
gdb/testsuite/gdb.arch/s390-multiarch.exp
gdb/testsuite/gdb.arch/s390-stackless.exp
gdb/testsuite/gdb.arch/sparc-sysstep.exp
gdb/testsuite/gdb.arch/sparc64-adi.exp
gdb/testsuite/gdb.arch/sparc64-regs.exp
gdb/testsuite/gdb.arch/thumb2-it.exp
gdb/testsuite/gdb.arch/vsx-regs.exp
gdb/testsuite/gdb.arch/vsx-vsr-float28.exp
gdb/testsuite/gdb.base/overlays.exp
gdb/testsuite/gdb.disasm/am33.exp
gdb/testsuite/gdb.disasm/h8300s.exp
gdb/testsuite/gdb.disasm/hppa.exp
gdb/testsuite/gdb.disasm/mn10300.exp
gdb/testsuite/gdb.disasm/sh3.exp
gdb/testsuite/gdb.disasm/t01_mov.exp
gdb/testsuite/gdb.disasm/t02_mova.exp
gdb/testsuite/gdb.disasm/t03_add.exp
gdb/testsuite/gdb.disasm/t04_sub.exp
gdb/testsuite/gdb.disasm/t05_cmp.exp
gdb/testsuite/gdb.disasm/t06_ari2.exp
gdb/testsuite/gdb.disasm/t07_ari3.exp
gdb/testsuite/gdb.disasm/t08_or.exp
gdb/testsuite/gdb.disasm/t09_xor.exp
gdb/testsuite/gdb.disasm/t10_and.exp
gdb/testsuite/gdb.disasm/t11_logs.exp
gdb/testsuite/gdb.disasm/t12_bit.exp
gdb/testsuite/gdb.disasm/t13_otr.exp
gdb/testsuite/gdb.mi/mi-regs.exp
gdb/testsuite/gdb.reverse/ppc_record_test_isa_2_06.exp
gdb/testsuite/gdb.reverse/ppc_record_test_isa_3_1.exp
gdb/testsuite/gdb.reverse/s390-mvcle.exp