Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Does gdb debuginfod download libc etc.?
@ 2026-03-07 23:58 Paul Smith via Gdb
  2026-03-08  9:44 ` Arsen Arsenović via Gdb
  0 siblings, 1 reply; 18+ messages in thread
From: Paul Smith via Gdb @ 2026-03-07 23:58 UTC (permalink / raw)
  To: gdb

I'm trying to start using debuginfod support in my environment.  I've
started my own debuginfod server and I've added lots of historical
binaries and shared libraries that I get core files from.

In that past I've asked users to package up all their system libraries
such as libc.so, libm.so, libpthread.so, the runtime linker ld-linux.so
etc. and send them along with their core file.  Then I run GDB like:
  gdb -iex 'set sysroot xxx' -c core exe

What I was hoping to do is to run "gdb -c core" and have debuginfod get
everything I need without having to ask users to send anything
(assuming I've already got the libraries, which I usually do).  But, it
doesn't seem to be working.

I've used debuginfod-find to verify that all the libraries referenced
by the core file do exist on the server (via their build ID).

When I run "gdb -c core" it DOES correctly download the executable
file, so I know that GDB's debuginfod configuration is working.  It
also appears to download linux-vdso.so.1.

However, none of my other libraries are being loaded, even if I use bt
or whatever to look at the backtrace.  Without libc for example, none
of the threads which were in the C runtime when the core was taken can
be traced and I just get "?? ()" for every frame.  If I use "info
sharedlib" I see all the .so paths are the local system versions of
these libraries, and they have a "Syms Read" value of "No".


Is there something else I need to do to get this working?

Or am I just misunderstanding how debuginfod support works?

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

end of thread, other threads:[~2026-03-13 15:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-07 23:58 Does gdb debuginfod download libc etc.? 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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox