Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Paul Smith via Gdb <gdb@sourceware.org>
To: Andrew Burgess <aburgess@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: Does gdb debuginfod download libc etc.?
Date: Wed, 11 Mar 2026 10:46:39 -0400	[thread overview]
Message-ID: <fcb42bfee695ce62f9025fac625f4363b1f5cb65.camel@gnu.org> (raw)
In-Reply-To: <87342690kz.fsf@redhat.com>

On Wed, 2026-03-11 at 09:28 +0000, Andrew Burgess wrote:
> Glad this is unblocking you.  The operator() stuff is fine, it's just
> because the debug is being emitted from within a C++ lambda function.

Understood.  I just wasn't sure if you wanted to emit that as a debug
message.

> I started working on cleaning up the patch ready for submission to
> master, but I'm pretty busy for the next few days, so it'll probably
> be next week now before I post anything.

No worries at all.

> However, I'm not sure if this would ever be back-ported to the
> gdb-17-branch, this isn't a regression or bug fix, handling a missing
> NT_FILE note has never worked in GDB, so this is really a new
> functionality patch, which would normally only be applied to master.

I understand.  I've already incorporated it into my build environment
and I actually backported it to 16.3 which is what we're currently
using, so that I can deploy just a new GDB binary but keep all the same
other files (python etc.)  Later this year I'll switch to a newer GDB
and if 18 is not released at that point, I'll apply a patch to 17.x.

If I run into issues I can just disable it again (I'll let you know, if
it seems like a problem with the change versus something introduced by
my fiddling around).

In the meantime I'm looking into adding NT_FILE support to our cores. 
It doesn't look too difficult as I have all the necessary info,
although preserving the variable-length filenames will be interesting
as the coredumper library needs to run in a signal handler context, so
no malloc is available.  I see a few ways to handle this, I'll think
about it.

Thanks immensely Andrew!

  reply	other threads:[~2026-03-11 14:48 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-07 23:58 Paul Smith via Gdb
2026-03-08  9:44 ` Arsen Arsenović via Gdb
2026-03-08 21:04   ` Paul Smith via Gdb
2026-03-09  2:32     ` Simon Marchi via Gdb
2026-03-09 13:57       ` Paul Smith via Gdb
2026-03-09 15:36         ` Simon Marchi via Gdb
2026-03-09 17:28           ` Andrew Burgess via Gdb
2026-03-09 16:57         ` Andrew Burgess via Gdb
2026-03-09 20:32           ` Paul Smith via Gdb
2026-03-09 21:19             ` Paul Smith via Gdb
2026-03-10  9:12               ` Mark Wielaard
2026-03-10 14:20               ` Andrew Burgess via Gdb
2026-03-10 17:12                 ` Paul Smith via Gdb
2026-03-11  9:28                   ` Andrew Burgess via Gdb
2026-03-11 14:46                     ` Paul Smith via Gdb [this message]
2026-03-12 20:38                     ` Paul Smith via Gdb
2026-03-13 13:45                       ` Andrew Burgess via Gdb
2026-03-13 15:44                         ` Paul Smith via Gdb

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=fcb42bfee695ce62f9025fac625f4363b1f5cb65.camel@gnu.org \
    --to=gdb@sourceware.org \
    --cc=aburgess@redhat.com \
    --cc=psmith@gnu.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: 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