opcodes/arc: Implement style support in the disassembler
authorClaudiu Zissulescu <claziss@gmail.com>
Mon, 18 Jul 2022 08:43:07 +0000 (11:43 +0300)
committerClaudiu Zissulescu <claziss@gmail.com>
Mon, 18 Jul 2022 11:25:31 +0000 (14:25 +0300)
commitbbcab3366bc5269c2896e82ebd1b0f068ec9a50b
tree635dec7516308891c986393faf4d3a0c9bb932b0
parent5154216259b0302785abf89f176051bcf0e6375c
opcodes/arc: Implement style support in the disassembler

Update the ARC disassembler to supply style information to the
disassembler output. The output formatting remains unchanged.

opcodes/ChangeLog:
* disassemble.c (disassemble_init_for_target): Set
created_styled_output for ARC based targets.
* arc-dis.c (find_format_from_table): Use fprintf_styled_ftype
instead of fprintf_ftype throughout.
(find_format): Likewise.
(print_flags): Likewise.
(print_insn_arc): Likewise.

Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
opcodes/ChangeLog
opcodes/arc-dis.c
opcodes/disassemble.c