public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "fche at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug corefiles/28636] New: usability suggestions for debuginfod client Date: Mon, 29 Nov 2021 17:11:30 +0000 [thread overview] Message-ID: <bug-28636-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=28636 Bug ID: 28636 Summary: usability suggestions for debuginfod client Product: gdb Version: unknown Status: NEW Severity: normal Priority: P2 Component: corefiles Assignee: unassigned at sourceware dot org Reporter: fche at redhat dot com CC: amerey at redhat dot com, simark at simark dot ca Target Milestone: --- With the recently integrated (gdb) set debuginfod* changes, things look different and better in some ways. Some suggestions for (re)consideration: 1. defaulting to "set debuginfod off" for batch usage is kind of unfortunate. Programs that use gdb under the covers to do backtracing or whatever now would start to require an extra gdb command option just to work as well as gdb 10 did. I -think- that batch usage of gdb is LESS latency / comfort sensitive, so maybe the default should be "on" for them rather than "off". 2. displaying "Downloading -0.00 MB separate debug info for ..." is confusing. Maybe the files came down too quickly, and the client didn't pass a late enough progress callback. (If so, perhaps we could fix that on the debuginfod side, but I think the code there is good. GDB should get a notification for the last download completion packet.) It'd be better to omit the number, or perhaps replace it from an actual fstat st_size kind of number if necessary. 3. having "set debuginfod ask" be the default is fine for interactive users - that was the whole point of the patchset. But answering "y" is purely transient, as opposed to one-time. Could gdb append a setting to its own .gdbinit file so that the "y" sticks? -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2021-11-29 17:11 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-11-29 17:11 fche at redhat dot com [this message] 2021-11-29 19:30 ` [Bug corefiles/28636] " simark at simark dot ca 2021-11-29 23:36 ` amerey at redhat dot com 2021-11-29 23:42 ` amerey at redhat dot com 2021-12-02 16:33 ` fche at redhat dot com 2021-12-03 1:10 ` fche at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-28636-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).