debuginfod-dc24/debuginfod-dc24.org

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?

  • Debugger-like tools (e.g., GDB) link against libdebuginfod, which provides the client support.
  • When the tool needs a certain debuginfo, it will contact the debuginfod server (specified via the DEBUGINFOD_URLS shell variable) and put a request for the debuginfo's Build-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.