public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/29581] New: [gdb/debuginfod] Improve cancelling multiple downloads
@ 2022-09-18  3:25 vries at gcc dot gnu.org
  2022-09-18  3:25 ` [Bug gdb/29581] " vries at gcc dot gnu.org
  2022-09-18  8:34 ` vries at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-09-18  3:25 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29581

            Bug ID: 29581
           Summary: [gdb/debuginfod] Improve cancelling multiple downloads
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

When loading an exec into gdb, and libdebuginfod is enabled and available, a
single download of debug info is done.

But after starting the exec, shares libs will be loaded, and downloads will be
issued for each of them, which can be many.

If you want to cancel a single download, you press ^C, and gdb will continue
with downloading the debuginfo for the next shared lib.

But if you want to cancel all following downloads, there's no option but to ^C
repeatedly, all he way to the eventual gdb prompt.

IWBN if this process was streamlined somewhat.

A simple idea to improve on this would be to upon ^C present the user with a
choice prompt:
...
Download cancelled, continue downloading more debug info (y/n)?
...

If n is replied, the downloading of further debug info for other shared libs
would be cancelled.

The question is what scope that choice would have.  We could simply interpret
it to mean "set debuginfod enabled off".

Alternatively, we could define a download session, and have it be valid for the
length of the download session, which could last till for instance the next gdb
prompt.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/29581] [gdb/debuginfod] Improve cancelling multiple downloads
  2022-09-18  3:25 [Bug gdb/29581] New: [gdb/debuginfod] Improve cancelling multiple downloads vries at gcc dot gnu.org
@ 2022-09-18  3:25 ` vries at gcc dot gnu.org
  2022-09-18  8:34 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-09-18  3:25 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29581

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mliska at suse dot cz

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gdb/29581] [gdb/debuginfod] Improve cancelling multiple downloads
  2022-09-18  3:25 [Bug gdb/29581] New: [gdb/debuginfod] Improve cancelling multiple downloads vries at gcc dot gnu.org
  2022-09-18  3:25 ` [Bug gdb/29581] " vries at gcc dot gnu.org
@ 2022-09-18  8:34 ` vries at gcc dot gnu.org
  1 sibling, 0 replies; 3+ messages in thread
From: vries at gcc dot gnu.org @ 2022-09-18  8:34 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=29581

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
Duplicate

*** This bug has been marked as a duplicate of bug 29582 ***

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-09-18  8:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-18  3:25 [Bug gdb/29581] New: [gdb/debuginfod] Improve cancelling multiple downloads vries at gcc dot gnu.org
2022-09-18  3:25 ` [Bug gdb/29581] " vries at gcc dot gnu.org
2022-09-18  8:34 ` 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).