1.7 KiB
1.7 KiB
A plan to support source code indexing on debuginfod.d.n
What is debuginfod
?
- Started by Red Hat in 2019.
- It "is a client/server […] that automatically
distributes
ELF
/DWARF
/ source-code from servers to clients such as debuggers across HTTP". - The goal is to replace the need for
.ddeb
files (but it can do more than that).
How does it work?
- There's a
debuginfod
server (e.g., at https://debuginfod.debian.net) that indexes all available debug information from supported Debian releases.
- Debugger-like tools (e.g.,
GDB
) link againstlibdebuginfod
, which provides the client support.
- When the tool needs a certain debuginfo, it will contact the
debuginfod
server (specified via theDEBUGINFOD_URLS
shell variable) and put a request for the debuginfo'sBuild-ID
.
- If found, the server will then transmit the information over HTTP(S) to the client.
How do I use it?
- You can configure your system by doing:
export DEBUGINFOD_URLS="https://debuginfod.debian.net"
Demo
- Fasten your seat belts, please.