From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 868CA385702B; Fri, 9 Jun 2023 14:39:27 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 868CA385702B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686321567; bh=6QHk14B2pryUw3j82FjSDM6CYmLsIZnG+wR7VBGlJIY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yGNqYDMYnBOL7Np8+Fwl9an7+zo4biI4DxbAi3zBmpJV23RU7Wy1RcdEvv5ahaFJe hS0zYw86vroyV9FzrTHiHbM86jSarJhY9nh30QnfY1IG3ydQZ60zRIeMNgIMluIk0H IAS0IZ7A3i4lM5MjGaYyPmVdRhh1sItsZvLy5MKw= From: "cvs-commit at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/30522] [gdb/tui] Entering singlekey mode doesn't clear partial command line Date: Fri, 09 Jun 2023 14:39:27 +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=3D30522 --- 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=3D68bb2e3ee06f= a4dbf39f95dc76743be5cd5254f5 commit 68bb2e3ee06fa4dbf39f95dc76743be5cd5254f5 Author: Tom de Vries Date: Fri Jun 9 16:39:27 2023 +0200 [gdb/tui] Delete line buffer when switching to singlekey Say we're in TUI mode, and type "sun": ... (gdb) sun ... After switching to SingleKey mode using C-x s, we have just: ... sun ... After typing "d", we get: ... sun Undefined command: "sundown". Try "help". ... The SingleKey "d" is supposed run the "down" command. Fix this by clearing the readline line buffer when switching to SingleK= ey mode. Tested on x86_64-linux. PR tui/30522 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30522 Reviewed-By: Tom Tromey --=20 You are receiving this mail because: You are on the CC list for the bug.=