From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 12A713858C5F; Tue, 6 Jun 2023 12:55:17 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 12A713858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1686056117; bh=yI9nd9TjVNURfXWNf1MSk5Y2YKkOM9KtKgVZP/mR4yk=; h=From:To:Subject:Date:From; b=IO0F3OHRyAnq//vnsXbuwtkToITyLaU5mkKLDnrt0a2uW0GvpTg0srJSIcWZPHn4s XAIttGadIz/Ioghi8OEKAHIu1GUxx0xXHwpf1tPxXyD0B1htKbVnyRQ4DwWLvz2a++ VPSvu8PL/thiKmVK8CT2oKIfv8zqX4ZSvY95n45M= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug tui/30522] New: [gdb/tui] Entering singlekey mode doesn't clear partial command line Date: Tue, 06 Jun 2023 12:55:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: vries 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: 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=3D30522 Bug ID: 30522 Summary: [gdb/tui] Entering singlekey mode doesn't clear partial command line Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: tui Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Say we start gdb in TUI mode: ... $ gdb -q -tui ./a.out=20 ... we get in the command window (X marks blinking cursor): ... Reading symbols from ./a.out... (gdb) X ... Now let's type "sun": ... Reading symbols from ./a.out... (gdb) sunX ... and do C-x s to enter singlekey mode: ... Reading symbols from ./a.out... sunX ... and then press d. We get: ... Reading symbols from ./a.out... sun Undefined command: "sundown". Try "help". X ... I think when entering singlekey mode we probably want to clear the partial command line. --=20 You are receiving this mail because: You are on the CC list for the bug.=