public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] gdb: handle dis_style_sub_mnemonic disassembler style
@ 2022-07-25 13:28 Andrew Burgess
  0 siblings, 0 replies; only message in thread
From: Andrew Burgess @ 2022-07-25 13:28 UTC (permalink / raw)
  To: gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=90ed15932111ce37c4187163dd9279ef1798f24e

commit 90ed15932111ce37c4187163dd9279ef1798f24e
Author: Andrew Burgess <aburgess@redhat.com>
Date:   Mon Jul 25 14:26:24 2022 +0100

    gdb: handle dis_style_sub_mnemonic disassembler style
    
    In commit:
    
      commit 4f46c0bc36471b725de0253bfec1a42a36e2c5c5
      Date:   Mon Jul 4 17:45:25 2022 +0100
    
          opcodes: add new sub-mnemonic disassembler style
    
    I added a new disassembler style dis_style_sub_mnemonic, but forgot to
    add GDB support for this style.  Fix this oversight in this commit.

Diff:
---
 gdb/disasm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gdb/disasm.c b/gdb/disasm.c
index cf27a32fbe7..db6724757ac 100644
--- a/gdb/disasm.c
+++ b/gdb/disasm.c
@@ -296,6 +296,7 @@ gdb_printing_disassembler::fprintf_styled_func (void *dis_info,
   switch (style)
     {
     case dis_style_mnemonic:
+    case dis_style_sub_mnemonic:
     case dis_style_assembler_directive:
       fputs_styled (txt, disasm_mnemonic_style.style (), stream);
       break;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-25 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-25 13:28 [binutils-gdb] gdb: handle dis_style_sub_mnemonic disassembler style Andrew Burgess

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).