testsuite: Use istarget and is_lp64_target for 3 testcases.
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 23 Jun 2014 06:24:36 +0000 (08:24 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 23 Jun 2014 06:24:36 +0000 (08:24 +0200)
commitb972bd9c133c8acd3f5ce8d05a4fdfc85aee2c15
tree30cb743725e87d17df8a826848cb889ad0b6e5ef
parent6bd23fd2c74eed21a7824f0d1bd2785b96c32c7c
testsuite: Use istarget and is_lp64_target for 3 testcases.

On x86_64 with -m32 or on i686 it will:

Running ./gdb.arch/amd64-stap-special-operands.exp ...
gdb compile failed, amd64-stap-triplet.c: Assembler messages:
amd64-stap-triplet.c:35: Error: bad register name `%rbp'
amd64-stap-triplet.c:38: Error: bad register name `%rsp'
amd64-stap-triplet.c:40: Error: bad register name `%rbp)'
amd64-stap-triplet.c:41: Error: bad register name `%rsi'
amd64-stap-triplet.c:42: Error: bad register name `%rbp)'
/tmp/ccjOdmpl.s:63: Error: bad register name `%rbp'

2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
* gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
* gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.

Message-ID: <20140622211401.GA3716@host2.jankratochvil.net>
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/amd64-stap-optional-prefix.exp
gdb/testsuite/gdb.arch/amd64-stap-special-operands.exp
gdb/testsuite/gdb.dwarf2/dw2-error.exp