public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/31033] New: Bogus bold at the end of command when quitting pagination early
@ 2023-11-06 11:33 blarsen at redhat dot com
2025-04-05 1:53 ` [Bug gdb/31033] " tromey at sourceware dot org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: blarsen at redhat dot com @ 2023-11-06 11:33 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31033
Bug ID: 31033
Summary: Bogus bold at the end of command when quitting
pagination early
Product: gdb
Version: HEAD
Status: NEW
Severity: normal
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: blarsen at redhat dot com
Target Milestone: ---
When a command has bold in its output, triggers pagination, and the user quits
pagination early, the next command will have bold at the end and the prompt
will be printed in bold as well. See this sample session, using <bold></bold>
to show where the output is stylized:
$ ./gdb -q cat
Reading symbols from cat...
Reading symbols from .gnu_debugdata for /usr/bin/cat...
(No debugging symbols found in .gnu_debugdata for /usr/bin/cat)
(gdb) set height 2
(gdb) apropos inferior
<bold> add-inferior </bold> -- Add a new inferior.
--Type <RET> for more, q to quit, c to continue without paging--q
Quit
(gdb) inferior
[Current inferior is 1 <bold>[<null>] (/usr/bin/cat)]
(gdb)</bold> inferior
[Current inferior is 1 [<null>] (/usr/bin/cat)]
(gdb)
This is a regression, since this behavior isn't present in GDB 13.2-3 in Fedora
37.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/31033] Bogus bold at the end of command when quitting pagination early
2023-11-06 11:33 [Bug gdb/31033] New: Bogus bold at the end of command when quitting pagination early blarsen at redhat dot com
@ 2025-04-05 1:53 ` tromey at sourceware dot org
2025-04-08 2:15 ` tromey at sourceware dot org
2025-04-08 2:17 ` tromey at sourceware dot org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2025-04-05 1:53 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31033
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |32284
CC| |tromey at sourceware dot org
Referenced Bugs:
https://sourceware.org/bugzilla/show_bug.cgi?id=32284
[Bug 32284] [meta] CLI Styling
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/31033] Bogus bold at the end of command when quitting pagination early
2023-11-06 11:33 [Bug gdb/31033] New: Bogus bold at the end of command when quitting pagination early blarsen at redhat dot com
2025-04-05 1:53 ` [Bug gdb/31033] " tromey at sourceware dot org
@ 2025-04-08 2:15 ` tromey at sourceware dot org
2025-04-08 2:17 ` tromey at sourceware dot org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2025-04-08 2:15 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31033
Tom Tromey <tromey at sourceware dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|unassigned at sourceware dot org |tromey at sourceware dot org
--- Comment #1 from Tom Tromey <tromey at sourceware dot org> ---
I have a fix.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug gdb/31033] Bogus bold at the end of command when quitting pagination early
2023-11-06 11:33 [Bug gdb/31033] New: Bogus bold at the end of command when quitting pagination early blarsen at redhat dot com
2025-04-05 1:53 ` [Bug gdb/31033] " tromey at sourceware dot org
2025-04-08 2:15 ` tromey at sourceware dot org
@ 2025-04-08 2:17 ` tromey at sourceware dot org
2 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2025-04-08 2:17 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=31033
--- Comment #2 from Tom Tromey <tromey at sourceware dot org> ---
I should probably write a regression test before sending this though.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2025-04-08 2:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-06 11:33 [Bug gdb/31033] New: Bogus bold at the end of command when quitting pagination early blarsen at redhat dot com
2025-04-05 1:53 ` [Bug gdb/31033] " tromey at sourceware dot org
2025-04-08 2:15 ` tromey at sourceware dot org
2025-04-08 2:17 ` 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).