From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A07CB3857437; Wed, 26 Jul 2023 11:32:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A07CB3857437 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1690371132; bh=ZaZGc9PFBBYBqcsu5EmGfmGVx97Wu87cg5quM80wdxU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TKTMPUZLTzjHyqD2v1eT96VbN2PhS+BbelXuhqxNNp1qazsH6NClrf3BJL534/LSO R+ij8EWClMUaN6QkEq3im5LvM1Q8YBasN5G/i2tmBUeALioPLvqFSJ0+SdSbvW0Nk+ o0stG8+LRyoLHgN5Z6FJEj8fenSLJorgKg3sl/ig= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/30636] [gdb/tui] Secondary prompt overwritten Date: Wed, 26 Jul 2023 11:32:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: tui X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org 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: Message-ID: In-Reply-To: References: 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=3D30636 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Tom de Vries : https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D87c9b0289d73= 382cc72adb84d221b0a8ceb33ef8 commit 87c9b0289d73382cc72adb84d221b0a8ceb33ef8 Author: Tom de Vries Date: Wed Jul 26 13:31:53 2023 +0200 [gdb/tui] Fix secondary prompt With CLI, a session defining a command looks like: ... (gdb) define foo Type commands for definition of "foo". End with a line saying just "end". >bar >end (gdb) ... With TUI however, we get the same secondary prompts, and type the same,= but are left with: ... (gdb) define foo Type commands for definition of "foo". End with a line saying just "end". (gdb) ... Fix this by calling tui_inject_newline_into_command_window in gdb_readline_wrapper_line, as is done in tui_command_line_handler. Tested on x86_64-linux. PR tui/30636 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30636 --=20 You are receiving this mail because: You are on the CC list for the bug.=