[PATCHv2 0/2] Disassembler Output Styling
Andrew Burgess
aburgess@redhat.com
Thu Nov 25 10:36:41 GMT 2021
Since v1:
- I pushed patches #1 and #2,
- I rebased onto current master, minor conflicts resolved, no other
changes.
- New patch #2 (old patch #4) has been reviewed, so just patch #1
needs review.
---
Andrew Burgess (2):
gdb: use python to colorize disassembler output
gdb/python: move styling support to gdb.styling
gdb/NEWS | 6 +++
gdb/cli/cli-style.c | 26 ++++++++++
gdb/cli/cli-style.h | 3 ++
gdb/data-directory/Makefile.in | 1 +
gdb/disasm.c | 59 +++++++++++++++++++++-
gdb/disasm.h | 25 ++++++++++
gdb/doc/gdb.texinfo | 15 ++++++
gdb/extension-priv.h | 6 +++
gdb/extension.c | 20 ++++++++
gdb/extension.h | 8 +++
gdb/python/lib/gdb/__init__.py | 18 -------
gdb/python/lib/gdb/styling.py | 48 ++++++++++++++++++
gdb/python/python.c | 85 ++++++++++++++++++++++++++++++--
gdb/testsuite/gdb.base/style.exp | 44 ++++++++++++++---
14 files changed, 335 insertions(+), 29 deletions(-)
create mode 100644 gdb/python/lib/gdb/styling.py
--
2.25.4
More information about the Gdb-patches
mailing list