[PATCH 0/2] Use libopcodes disassembler styling with GDB

Andrew Burgess aburgess@redhat.com
Fri Jun 17 10:36:00 GMT 2022


libopcodes is slowly gaining the ability to provide styling
information for its disassembler output.

This series extends GDB to make use of this information where possible
(currently only i386 based architectures and RISC-V).

---

Andrew Burgess (2):
  gdb: have gdb_disassemble_info carry 'this' in its stream pointer
  gdb: add support for disassembler styling using libopcodes

 gdb/NEWS            |  28 ++++++
 gdb/cli/cli-style.c | 107 ++++++++++++++++++++--
 gdb/cli/cli-style.h |  28 ++++--
 gdb/disasm.c        | 217 +++++++++++++++++++++++++++++++++++++++++---
 gdb/disasm.h        |  81 ++++++++++++-----
 gdb/doc/gdb.texinfo | 100 +++++++++++++++++++-
 6 files changed, 503 insertions(+), 58 deletions(-)

-- 
2.25.4



More information about the Gdb-patches mailing list