diff options
author | Andrew Burgess <aburgess@redhat.com> | 2022-07-25 14:26:24 +0100 |
---|---|---|
committer | Andrew Burgess <aburgess@redhat.com> | 2022-07-25 14:26:24 +0100 |
commit | 90ed15932111ce37c4187163dd9279ef1798f24e (patch) | |
tree | a3745138b66a4d492ee1d47e261cf50be8bf49d5 | |
parent | 36d94bd42b7b5f3d22d96ae8c850075814d315c0 (diff) | |
download | gdb-90ed15932111ce37c4187163dd9279ef1798f24e.zip gdb-90ed15932111ce37c4187163dd9279ef1798f24e.tar.gz gdb-90ed15932111ce37c4187163dd9279ef1798f24e.tar.bz2 |
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.
-rw-r--r-- | gdb/disasm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/disasm.c b/gdb/disasm.c index cf27a32..db67247 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; |