public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/30208] New: Colors for `disas` inconsistent
@ 2023-03-07 15:24 jengelh at inai dot de
  2023-03-07 15:31 ` [Bug cli/30208] " tromey at sourceware dot org
  0 siblings, 1 reply; 2+ messages in thread
From: jengelh at inai dot de @ 2023-03-07 15:24 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30208

            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=14739&action=edit
screenshot

Input
=====

$ 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
========
In one instance of "-0x8", the blue color is only applied to the 0x prefix.

Expected
========
Colorize -0x8 blue throughout.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

* [Bug cli/30208] Colors for `disas` inconsistent
  2023-03-07 15:24 [Bug cli/30208] New: Colors for `disas` inconsistent jengelh at inai dot de
@ 2023-03-07 15:31 ` tromey at sourceware dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at sourceware dot org @ 2023-03-07 15:31 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=30208

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
                 CC|                            |tromey at sourceware dot org
   Target Milestone|---                         |13.1

--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
Thank you for the clear & concise report.

I can confirm the bug in 12.1.  It's fixed in 13.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2023-03-07 15:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-07 15:24 [Bug cli/30208] New: Colors for `disas` inconsistent jengelh at inai dot de
2023-03-07 15:31 ` [Bug cli/30208] " tromey at sourceware dot org

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).