diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-08-27 13:09:06 +0000 |
---|---|---|
committer | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-10-14 05:21:41 +0000 |
commit | 354c1c098abe2b5cbc9da9751d29c5e5a0072376 (patch) | |
tree | fed127cf231fc94486f050d38928d1eb0c2c552b /gdb/cli/cli-script.c | |
parent | 1469f944d1d3f6c0f94c15716fdb74f9240a5136 (diff) | |
download | gdb-354c1c098abe2b5cbc9da9751d29c5e5a0072376.zip gdb-354c1c098abe2b5cbc9da9751d29c5e5a0072376.tar.gz gdb-354c1c098abe2b5cbc9da9751d29c5e5a0072376.tar.bz2 |
opcodes/riscv-dis.c: Use bool type whenever possible
Before changing the core disassembler, we take care of minor code clarity
issues and improve readability.
This commit replaces uses of int with bool whenever possible.
opcodes/ChangeLog:
* riscv-dis.c (no_aliases) Change type to bool.
(set_default_riscv_dis_options): Use boolean.
(parse_riscv_dis_option_without_args): Likewise.
(riscv_disassemble_insn): Use boolean keywords.
Diffstat (limited to 'gdb/cli/cli-script.c')
0 files changed, 0 insertions, 0 deletions