opcodes/avr: Implement style support in the disassembler
authorMarcus Nilsson <brainbomb@gmail.com>
Mon, 4 Jul 2022 10:25:42 +0000 (11:25 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 4 Jul 2022 10:25:42 +0000 (11:25 +0100)
commita0f3a4c646cce619b6c5392b4ec8dcceeb5729ba
tree54716a654d3dbfee43276ff1aaa730c4a281bc1a
parent2c474c46943e5242f356a0c0676e2f7bd223c8a9
opcodes/avr: Implement style support in the disassembler

* disassemble.c: (disassemble_init_for_target): Set
created_styled_output for AVR based targets.
* avr-dis.c: (print_insn_avr): Use fprintf_styled_ftype
instead of fprintf_ftype throughout.
(avr_operand): Pass in and fill disassembler_style when
parsing operands.
opcodes/ChangeLog
opcodes/avr-dis.c
opcodes/disassemble.c