Does gdb debuginfod download libc etc.?

Andrew Burgess aburgess@redhat.com
Wed Mar 11 09:28:44 GMT 2026


Paul Smith <psmith@gnu.org> writes:

> On Tue, 2026-03-10 at 14:20 +0000, Andrew Burgess wrote:
>> Attached below is a **VERY** rough patch which might get things going
>> for you.  This patch applies on gdb-17-branch and includes the
>> previous changes I sent, so you should probably revert them and then
>> try this patch to avoid conflicts.
>
> Wow I did not expect such a quick response!  However, your patch works
> for me (I fully grok your admonitions about this being a rough draft).
> I did see odd output related to operator() but maybe it's not odd to
> you :)

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.

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.

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.

Thanks,
Andrew



More information about the Gdb mailing list