Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andrew Burgess <aburgess@redhat.com>
To: Tom Tromey <tom@tromey.com>, Tom de Vries <tdevries@suse.de>
Cc: gdb-patches@sourceware.org
Subject: Re: [PATCH] [gdb/tui] Fix crash with debuginfod query
Date: Sat, 17 Jan 2026 13:14:35 +0000	[thread overview]
Message-ID: <87ms2cqt38.fsf@redhat.com> (raw)
In-Reply-To: <87fr85ehi8.fsf@tromey.com>

Tom Tromey <tom@tromey.com> writes:

>>>>>> "Tom" == Tom de Vries <tdevries@suse.de> writes:
>
> Tom> PR tui/31449 reports a SIGFPE when the debuginfod query happens while enabling
> Tom> TUI using the "tui enable" command:
>
> What if we just got rid of the query and debuginfod was either on or off.

I do see some value in having the query.  Users can choose to disable
the feature if they know it's going to end up downloading a bunch of
stuff they don't care about.

But I could imagine maybe flipping things around.  Maybe between GDB
prompts GDB could track how many downloads have been cancelled.  If a
user cancels 2 downloads then GDB could prompt the user at that point:

  Would you like to disable debuginfod for this debug session (y/N)?

That way users only need to take action if they area already hitting
Ctrl-C to cancel downloads.

I'm currently working on updating Aaron's debuginfod patches to add
gdb-index and debug_line section downloading, so I could investigate the
above idea as part of this work.

Thanks,
Andrew


      parent reply	other threads:[~2026-01-17 13:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-01-14 17:28 Tom de Vries
2026-01-15 11:29 ` Andrew Burgess
2026-01-15 13:04   ` Tom de Vries
2026-01-16 13:24     ` Tom de Vries
2026-01-15 12:13 ` Andrew Burgess
2026-01-15 13:13   ` Tom de Vries
2026-01-15 14:26     ` Tom de Vries
2026-01-16 13:25       ` Tom de Vries
2026-01-16 14:53 ` Tom Tromey
2026-01-16 15:07   ` Tom de Vries
2026-01-17 13:14   ` Andrew Burgess [this message]

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=87ms2cqt38.fsf@redhat.com \
    --to=aburgess@redhat.com \
    --cc=gdb-patches@sourceware.org \
    --cc=tdevries@suse.de \
    --cc=tom@tromey.com \
    /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: link
Be 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