diff options
author | Tom de Vries <tdevries@suse.de> | 2021-01-12 14:34:06 +0100 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2021-01-12 14:34:06 +0100 |
commit | 18bfb5057f2cee5079208cd70eb463892f5ff154 (patch) | |
tree | 717df792c3dd5f64a3cfe662ff2dec579ec59a2c /sim/mcore | |
parent | c2e9a4a3ed1efcbdec68372e7e889470870d6d48 (diff) | |
download | binutils-18bfb5057f2cee5079208cd70eb463892f5ff154.zip binutils-18bfb5057f2cee5079208cd70eb463892f5ff154.tar.gz binutils-18bfb5057f2cee5079208cd70eb463892f5ff154.tar.bz2 |
[gdb/testsuite] Require is_amd64_regs_target in gdb.base/disasm-optim.exp
When running test-case gdb.base/disasm-optim.exp with target board unix/-m32,
we get:
...
Running disasm-optim.exp ...
gdb compile failed, disasm-optim.c: Assembler messages:
disasm-optim.c:35: Error: bad register name `%rip)'
disasm-optim.c:46: Error: bad register name `%rax)'
disasm-optim.c:57: Error: bad register name `%rip)'
=== gdb Summary ===
# of untested testcases 1
...
Fix this by requiring is_amd64_regs_target instead of istarget
"x86_64-*-linux*".
Tested on x86_64-linux.
gdb/testsuite/ChangeLog:
2021-01-12 Tom de Vries <tdevries@suse.de>
* gdb.base/disasm-optim.exp: Require is_amd64_regs_target.
Diffstat (limited to 'sim/mcore')
0 files changed, 0 insertions, 0 deletions