Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3] Improvements for Pygments based disassembly styling
@ 2022-08-30 14:16 Andrew Burgess via Gdb-patches
  2022-08-30 14:16 ` [PATCH 1/3] gdb/testsuite: extend styling test for libopcodes styling Andrew Burgess via Gdb-patches
                   ` (3 more replies)
  0 siblings, 4 replies; 14+ messages in thread
From: Andrew Burgess via Gdb-patches @ 2022-08-30 14:16 UTC (permalink / raw)
  To: gdb-patches

This series was inspired by this stackoverflow post:

  https://stackoverflow.com/questions/73491793/why-is-there-a-%c2%b1-in-lea-rax-rip-%c2%b1-0xeb3

which highlighted some issues with the Python Pygments based
disassembler styling that was being used for all architectures in GDB
12.

The next release of GDB will use libopcodes styling for many of the
most popular architectures, but lots of the smaller architectures are
still using Pygments, and Pygments can still be used for all
architectures if a user chooses to disable use of libopcodes styling,
though I don't know why they would want to do that.

---

Andrew Burgess (3):
  gdb/testsuite: extend styling test for libopcodes styling
  gdb: improve disassembler styling when Pygments raises an exception
  gdb/disasm: better intel flavour disassembly styling with Pygments

 gdb/disasm.c                     |  69 ++++++++++----
 gdb/disasm.h                     |  21 +++-
 gdb/python/lib/gdb/styling.py    |  59 +++++++++++-
 gdb/testsuite/gdb.base/style.exp | 159 +++++++++++++++++++++++++------
 4 files changed, 250 insertions(+), 58 deletions(-)

-- 
2.25.4


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2022-10-10 14:05 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-30 14:16 [PATCH 0/3] Improvements for Pygments based disassembly styling Andrew Burgess via Gdb-patches
2022-08-30 14:16 ` [PATCH 1/3] gdb/testsuite: extend styling test for libopcodes styling Andrew Burgess via Gdb-patches
2022-08-30 14:16 ` [PATCH 2/3] gdb: improve disassembler styling when Pygments raises an exception Andrew Burgess via Gdb-patches
2022-10-08  2:25   ` Simon Marchi via Gdb-patches
2022-10-08 16:00     ` Andrew Burgess via Gdb-patches
2022-10-08 16:01       ` Simon Marchi via Gdb-patches
2022-10-10  9:32         ` Andrew Burgess via Gdb-patches
2022-10-10 10:31           ` Tom de Vries via Gdb-patches
2022-10-10 11:16             ` Andrew Burgess via Gdb-patches
2022-10-10 13:22               ` Tom de Vries via Gdb-patches
2022-10-10 14:04                 ` Andrew Burgess via Gdb-patches
2022-10-10 11:03     ` Andrew Burgess via Gdb-patches
2022-08-30 14:16 ` [PATCH 3/3] gdb/disasm: better intel flavour disassembly styling with Pygments Andrew Burgess via Gdb-patches
2022-10-02 16:38 ` [PATCH 0/3] Improvements for Pygments based disassembly styling Andrew Burgess via Gdb-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox