The Debian project launched a service for dynamically getting debug information

The Debian distribution has introduced a new service, debuginfod, which makes it possible to debug the programs supplied in the distribution without separately installing the packages associated with them with debug information from the debuginfo repository. The running service makes it possible to use the functionality of dynamically loading debugging symbols from an external server, which appeared in GDB 10, directly during debugging.

The debuginfod process that runs the service is an HTTP server for serving ELF/DWARF debugging information and source code. When built with debuginfod support, GDB can automatically connect to debuginfod servers to download missing debug information about files being processed, or to separate debug files and sources for the executable being debugged.

In Debian, support for debuginfod is currently included in the elfutils and GDB packages offered in the unstable and testing repositories. To enable the debuginfod server, it is sufficient to set the environment variable 'DEBUGINFOD_URLS="https://debuginfod.debian.net"' before executing GDB. Debian running debuginfod is provided for packages from the unstable, testing testing-proposed-updates, stable, stable-backports and proposed-updates repositories.

Source: opennet.ru

Add a comment