aboutsummaryrefslogtreecommitdiff
path: root/opcodes/rl78-decode.c
diff options
context:
space:
mode:
authorTsukasa OI <research_trasio@irq.a4lg.com>2022-09-26 11:13:51 +0000
committerTsukasa OI <research_trasio@irq.a4lg.com>2022-10-06 02:23:31 +0000
commit15543290129fde8b89b71f6e6494b88ca833c59c (patch)
tree6c3cbe057ba6428d5a30a40703c7725c5d9c3646 /opcodes/rl78-decode.c
parentf3a8023579897b27442654d7819bcc00726c352f (diff)
downloadgdb-15543290129fde8b89b71f6e6494b88ca833c59c.zip
gdb-15543290129fde8b89b71f6e6494b88ca833c59c.tar.gz
gdb-15543290129fde8b89b71f6e6494b88ca833c59c.tar.bz2
RISC-V: Fix T-Head immediate types on printing
This commit fixes two minor typing-related issues for T-Head immediate operands. 1. A signed type must be specified when printing with %i. 2. unsigned/signed int is not portable enough for max 32-bit immediates. Instead, we should use unsigned/signed long. The format string is changed accordingly. opcodes/ChangeLog: * riscv-dis.c (print_insn_args): Fix T-Head immediate types on printing.
Diffstat (limited to 'opcodes/rl78-decode.c')
0 files changed, 0 insertions, 0 deletions