From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B5B2F3858C20; Tue, 7 Mar 2023 15:24:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B5B2F3858C20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1678202667; bh=lbOC9bdyvVot/zKXlwoqY6xABzIcQzxeibtom9fV4j8=; h=From:To:Subject:Date:From; b=Hdg+Zc7jhjnCeWhCtq7mwvcZ3+T0PUzExgRd9qM8GtTskP2pcCVUQSABNZwSg8dt6 rHdEXbyu0KiQ1rZz0Cofq1fbChb5Uw8pIj+DE6zpSzgrzueMhnxK2gpX9TRek/m+nS 7gQle/XoWH74xYWyOcGdrsBP27WHjoAEey9+ZqZ8= From: "jengelh at inai dot de" To: gdb-prs@sourceware.org Subject: [Bug cli/30208] New: Colors for `disas` inconsistent Date: Tue, 07 Mar 2023 15:24:27 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: cli X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: jengelh at inai dot de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30208 Bug ID: 30208 Summary: Colors for `disas` inconsistent Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: cli Assignee: unassigned at sourceware dot org Reporter: jengelh at inai dot de Target Milestone: --- Created attachment 14739 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14739&action=3Ded= it screenshot Input =3D=3D=3D=3D=3D $ cat x.cpp int main() { asm volatile( "mov %rdi, -0x8(%rbp);" "mov -0x8(%rbp), %rax;" ); } $ g++ -g x.cpp $ gdb a.out (gdb) b main (gdb) r Breakpoint 1, main () at x.cpp:3 3 asm volatile( (gdb) disas Observed =3D=3D=3D=3D=3D=3D=3D=3D In one instance of "-0x8", the blue color is only applied to the 0x prefix. Expected =3D=3D=3D=3D=3D=3D=3D=3D Colorize -0x8 blue throughout. --=20 You are receiving this mail because: You are on the CC list for the bug.=