From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E7B703858CDB; Mon, 6 Nov 2023 11:33:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E7B703858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1699270397; bh=1GP4LaibTL09zS9P9eo51JrM1tExW1+oKonkzcxAAg4=; h=From:To:Subject:Date:From; b=xNUisW8S+op9z8z8QRePDsrVeT3S/r7pdA+JL3O5p12cYOsDv/mkhHOHFok4Mt18B OAJg59cfaKnWsjm7sbcZJn/9zSAQDdYEey0KdgG6lU3BABJIpBpCVrcOpCnRlrP5xn UcRh1iKj34HMg93UZ5HN5beNvjlzbWTCGP5VlgI4= From: "blarsen at redhat dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/31033] New: Bogus bold at the end of command when quitting pagination early Date: Mon, 06 Nov 2023 11:33:17 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: blarsen at redhat dot com X-Bugzilla-Status: NEW 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 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=3D31033 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 qu= its 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 to show where the output is stylized: $ ./gdb -q cat=20=20=20=20=20 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 add-inferior -- Add a new inferior. --Type for more, q to quit, c to continue without paging--q Quit (gdb) inferior [Current inferior is 1 [] (/usr/bin/cat)] (gdb) inferior [Current inferior is 1 [] (/usr/bin/cat)] (gdb)=20 This is a regression, since this behavior isn't present in GDB 13.2-3 in Fe= dora 37. --=20 You are receiving this mail because: You are on the CC list for the bug.=