[PATCHv2 0/3] disassembler syntax highlighting in objdump (via libopcodes)
Nick Clifton
nickc@redhat.com
Thu Mar 24 17:08:25 GMT 2022
Hi Andrew,
> This series changes libopcodes so that this disassemblers can supply
> styling information with every piece of disassembly output, e.g. is
> this a register? an address? a mnemonic? etc.
I like it!
> objdump/opcodes: add syntax highlighting to disassembler output
> opcodes/riscv: implement style support in the disassembler
> opcodes/i386: partially implement disassembler style support
>
> binutils/NEWS | 4 +
> binutils/doc/binutils.texi | 11 ++
> binutils/objdump.c | 249 ++++++++++++++++++++++++++++++++-----
> gdb/disasm.c | 34 ++++-
> gdb/disasm.h | 7 ++
> include/dis-asm.h | 88 ++++++++++++-
> opcodes/dis-init.c | 5 +-
> opcodes/disassemble.c | 23 +++-
> opcodes/i386-dis.c | 63 ++++++----
> opcodes/riscv-dis.c | 193 +++++++++++++++++-----------
> 10 files changed, 541 insertions(+), 136 deletions(-)
>
Patch series approved - please apply them all.
Cheers
Nick
More information about the Binutils
mailing list