From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1726) id B6C7B3875A3D; Mon, 25 Jul 2022 13:28:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B6C7B3875A3D Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Andrew Burgess To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb: handle dis_style_sub_mnemonic disassembler style X-Act-Checkin: binutils-gdb X-Git-Author: Andrew Burgess X-Git-Refname: refs/heads/master X-Git-Oldrev: 36d94bd42b7b5f3d22d96ae8c850075814d315c0 X-Git-Newrev: 90ed15932111ce37c4187163dd9279ef1798f24e Message-Id: <20220725132812.B6C7B3875A3D@sourceware.org> Date: Mon, 25 Jul 2022 13:28:12 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2022 13:28:12 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D90ed15932111= ce37c4187163dd9279ef1798f24e commit 90ed15932111ce37c4187163dd9279ef1798f24e Author: Andrew Burgess Date: Mon Jul 25 14:26:24 2022 +0100 gdb: handle dis_style_sub_mnemonic disassembler style =20 In commit: =20 commit 4f46c0bc36471b725de0253bfec1a42a36e2c5c5 Date: Mon Jul 4 17:45:25 2022 +0100 =20 opcodes: add new sub-mnemonic disassembler style =20 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 *d= is_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;