aboutsummaryrefslogtreecommitdiff
path: root/config-ml.in
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-08-27 00:11:01 +0000
committerNelson Chu <nelson@rivosinc.com>2022-09-02 14:03:28 +0800
commit8fe1be5fabd097a8b9110ab63729e08c0d686660 (patch)
treeff5688584010bebd58ea37cfdc8900eafb40b85d /config-ml.in
parent48525554d5222d98953202b9252ff65fdead58a4 (diff)
downloadgdb-8fe1be5fabd097a8b9110ab63729e08c0d686660.zip
gdb-8fe1be5fabd097a8b9110ab63729e08c0d686660.tar.gz
gdb-8fe1be5fabd097a8b9110ab63729e08c0d686660.tar.bz2
RISC-V: Print highest address (-1) on the disassembler
This patch makes possible to print the highest address (-1) and the addresses related to gp which value is -1. This is particularly useful if the highest address space is used for I/O registers and corresponding symbols are defined. Besides, despite that it is very rare to have GP the highest address, it would be nice because we enabled highest address printing on regular cases. gas/ChangeLog: * testsuite/gas/riscv/dis-addr-topaddr.s: New test for the top address (-1) printing. * testsuite/gas/riscv/dis-addr-topaddr-32.d: Likewise. * testsuite/gas/riscv/dis-addr-topaddr-64.d: Likewise. * testsuite/gas/riscv/dis-addr-topaddr-gp.s: New test for GP-relative addressing when GP is the highest address (-1). * testsuite/gas/riscv/dis-addr-topaddr-gp-32.d: Likewise. * testsuite/gas/riscv/dis-addr-topaddr-gp-64.d: Likewise. opcodes/ChangeLog: * riscv-dis.c (struct riscv_private_data): Add `to_print_addr' to enable printing the highest address. (maybe_print_address): Utilize `to_print_addr'. (riscv_disassemble_insn): Likewise.
Diffstat (limited to 'config-ml.in')
0 files changed, 0 insertions, 0 deletions