From: Andrew Burgess Date: Thu, 4 Feb 2021 20:36:30 +0000 (+0000) Subject: gdb/testsuite: only run gdb.arch/i386-biarch-core.exp on suitable targets X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=acde2092414878f94f03e9159fc679ff08390dcd;p=binutils-gdb.git gdb/testsuite: only run gdb.arch/i386-biarch-core.exp on suitable targets Restrict the test gdb.arch/i386-biarch-core.exp to only run on suitable targets. gdb/testsuite/ChangeLog: * gdb.arch/i386-biarch-core.exp: Add target check. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f3002b23970..70b836b8c2f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2021-02-18 Andrew Burgess + + * gdb.arch/i386-biarch-core.exp: Add target check. + 2021-02-16 Alok Kumar Sharma * gdb.dwarf2/pr13961.S: Corrected invalid DIE references. diff --git a/gdb/testsuite/gdb.arch/i386-biarch-core.exp b/gdb/testsuite/gdb.arch/i386-biarch-core.exp index 4e6f3964edd..22ccdc894e2 100644 --- a/gdb/testsuite/gdb.arch/i386-biarch-core.exp +++ b/gdb/testsuite/gdb.arch/i386-biarch-core.exp @@ -21,6 +21,11 @@ # #define EM_X86_64 62 /* AMD x86-64 architecture */ # patch @0x12: 0x3E -> 0x03 +if { ![istarget "i?86-*-*"] && ![istarget "x86_64-*-*"] } then { + verbose "Skipping i386 biarch core test." + return +} + standard_testfile gdb_exit