public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
* [Bug gdb/26180] New: tab completion needs whitespace escaping @ 2020-06-29 11:21 noelgrandin at gmail dot com 2020-06-29 11:21 ` [Bug cli/26180] " noelgrandin at gmail dot com ` (3 more replies) 0 siblings, 4 replies; 5+ messages in thread From: noelgrandin at gmail dot com @ 2020-06-29 11:21 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26180 Bug ID: 26180 Summary: tab completion needs whitespace escaping Product: gdb Version: 9.1 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: noelgrandin at gmail dot com Target Milestone: --- create a file with a space in it's name e.g. touch 'test file' run gdb type r <space> t <tab> you will end up a screen something like gdb> r test file which doesn't work :-) it would be better if gdb could wrap that file name in quotes, like this gdb> r 'test file' or escape it like this gdb> r test\ file thanks -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug cli/26180] tab completion needs whitespace escaping 2020-06-29 11:21 [Bug gdb/26180] New: tab completion needs whitespace escaping noelgrandin at gmail dot com @ 2020-06-29 11:21 ` noelgrandin at gmail dot com 2020-07-04 17:23 ` tromey at sourceware dot org ` (2 subsequent siblings) 3 siblings, 0 replies; 5+ messages in thread From: noelgrandin at gmail dot com @ 2020-06-29 11:21 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26180 Noel Grandin <noelgrandin at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|gdb |cli --- Comment #1 from Noel Grandin <noelgrandin at gmail dot com> --- This is gdb 9.1-5 on Fedora Linux -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug cli/26180] tab completion needs whitespace escaping 2020-06-29 11:21 [Bug gdb/26180] New: tab completion needs whitespace escaping noelgrandin at gmail dot com 2020-06-29 11:21 ` [Bug cli/26180] " noelgrandin at gmail dot com @ 2020-07-04 17:23 ` tromey at sourceware dot org 2020-07-06 14:23 ` palves at redhat dot com 2020-08-24 16:19 ` noelgrandin at gmail dot com 3 siblings, 0 replies; 5+ messages in thread From: tromey at sourceware dot org @ 2020-07-04 17:23 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26180 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Last reconfirmed| |2020-07-04 CC| |tromey at sourceware dot org -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug cli/26180] tab completion needs whitespace escaping 2020-06-29 11:21 [Bug gdb/26180] New: tab completion needs whitespace escaping noelgrandin at gmail dot com 2020-06-29 11:21 ` [Bug cli/26180] " noelgrandin at gmail dot com 2020-07-04 17:23 ` tromey at sourceware dot org @ 2020-07-06 14:23 ` palves at redhat dot com 2020-08-24 16:19 ` noelgrandin at gmail dot com 3 siblings, 0 replies; 5+ messages in thread From: palves at redhat dot com @ 2020-07-06 14:23 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26180 Pedro Alves <palves at redhat dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |palves at redhat dot com --- Comment #2 from Pedro Alves <palves at redhat dot com> --- I actually have a branch that implements that. https://github.com/palves/gdb/commits/palves/filename-options I ran into this while implementing support for filename options in the gdb::option framework, for "add-inferior -exec FILENAME". With that, this works: (gdb) shell touch a\ b (gdb) run a\ [TAB] (gdb) run a\ b As well as: (gdb) add-inferior -exec a\ [TAB] (gdb) add-inferior -exec a\ b The branch also makes GDB's single quoting behaves like Bash's. Currently single and double quoting behave the same in GDB. I need to find time to clean that up and submit it upstream. -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug cli/26180] tab completion needs whitespace escaping 2020-06-29 11:21 [Bug gdb/26180] New: tab completion needs whitespace escaping noelgrandin at gmail dot com ` (2 preceding siblings ...) 2020-07-06 14:23 ` palves at redhat dot com @ 2020-08-24 16:19 ` noelgrandin at gmail dot com 3 siblings, 0 replies; 5+ messages in thread From: noelgrandin at gmail dot com @ 2020-08-24 16:19 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=26180 --- Comment #3 from Noel Grandin <noelgrandin at gmail dot com> --- thanks to djdelorie for helping me debug that -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-08-24 16:19 UTC | newest] Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2020-06-29 11:21 [Bug gdb/26180] New: tab completion needs whitespace escaping noelgrandin at gmail dot com 2020-06-29 11:21 ` [Bug cli/26180] " noelgrandin at gmail dot com 2020-07-04 17:23 ` tromey at sourceware dot org 2020-07-06 14:23 ` palves at redhat dot com 2020-08-24 16:19 ` noelgrandin at gmail dot com
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).