public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug tui/30522] New: [gdb/tui] Entering singlekey mode doesn't clear partial command line @ 2023-06-06 12:55 vries at gcc dot gnu.org 2023-06-06 15:03 ` [Bug tui/30522] " vries at gcc dot gnu.org ` (2 more replies) 0 siblings, 3 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2023-06-06 12:55 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=30522 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 ... 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. -- 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 tui/30522] [gdb/tui] Entering singlekey mode doesn't clear partial command line 2023-06-06 12:55 [Bug tui/30522] New: [gdb/tui] Entering singlekey mode doesn't clear partial command line vries at gcc dot gnu.org @ 2023-06-06 15:03 ` vries at gcc dot gnu.org 2023-06-09 14:39 ` cvs-commit at gcc dot gnu.org 2023-06-09 14:40 ` vries at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2023-06-06 15:03 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=30522 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- https://sourceware.org/pipermail/gdb-patches/2023-June/200099.html -- 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 tui/30522] [gdb/tui] Entering singlekey mode doesn't clear partial command line 2023-06-06 12:55 [Bug tui/30522] New: [gdb/tui] Entering singlekey mode doesn't clear partial command line vries at gcc dot gnu.org 2023-06-06 15:03 ` [Bug tui/30522] " vries at gcc dot gnu.org @ 2023-06-09 14:39 ` cvs-commit at gcc dot gnu.org 2023-06-09 14:40 ` vries at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: cvs-commit at gcc dot gnu.org @ 2023-06-09 14:39 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=30522 --- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Tom de Vries <vries@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=68bb2e3ee06fa4dbf39f95dc76743be5cd5254f5 commit 68bb2e3ee06fa4dbf39f95dc76743be5cd5254f5 Author: Tom de Vries <tdevries@suse.de> 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 SingleKey mode. Tested on x86_64-linux. PR tui/30522 Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=30522 Reviewed-By: Tom Tromey <tom@tromey.com> -- 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 tui/30522] [gdb/tui] Entering singlekey mode doesn't clear partial command line 2023-06-06 12:55 [Bug tui/30522] New: [gdb/tui] Entering singlekey mode doesn't clear partial command line vries at gcc dot gnu.org 2023-06-06 15:03 ` [Bug tui/30522] " vries at gcc dot gnu.org 2023-06-09 14:39 ` cvs-commit at gcc dot gnu.org @ 2023-06-09 14:40 ` vries at gcc dot gnu.org 2 siblings, 0 replies; 4+ messages in thread From: vries at gcc dot gnu.org @ 2023-06-09 14:40 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=30522 Tom de Vries <vries at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |14.1 Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- Fixed. -- 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:[~2023-06-09 14:40 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2023-06-06 12:55 [Bug tui/30522] New: [gdb/tui] Entering singlekey mode doesn't clear partial command line vries at gcc dot gnu.org 2023-06-06 15:03 ` [Bug tui/30522] " vries at gcc dot gnu.org 2023-06-09 14:39 ` cvs-commit at gcc dot gnu.org 2023-06-09 14:40 ` vries at gcc dot gnu.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).