debuginfod-find
client for requesting debug information from debuginfod servers
TLDR
Request debuginfo based on build ID
$ debuginfod-find -v debuginfo [build_id]
Fetch the executable for a build ID$ debuginfod-find executable [build_id]
Fetch a source file for a build ID$ debuginfod-find source [build_id] [/path/to/source.c]
Fetch debuginfo for an ELF file directly$ debuginfod-find debuginfo [/path/to/binary]
SYNOPSIS
debuginfod-find [options] type build-id
DESCRIPTION
debuginfod-find requests debug information from debuginfod servers. It can retrieve debuginfo, executable, or source files based on the build ID of an ELF binary.Part of the elfutils package, it enables on-demand downloading of debug symbols for debugging tools like gdb.
PARAMETERS
debuginfo build-id
Fetch debug information fileexecutable build-id
Fetch executable filesource build-id path
Fetch source file-v
Verbose output
CONFIGURATION
DEBUGINFOD_URLS (environment variable)
Space-separated list of debuginfod server URLs to query for debug information.DEBUGINFOD_CACHE_PATH (environment variable)
Directory for caching downloaded debug files (default: $HOME/.debuginfodclientcache).
INSTALL
sudo apt install debuginfod
sudo pacman -S debuginfod
sudo apk add libdebuginfod
CAVEATS
Requires network access and configured debuginfod servers. Build IDs can be found with `readelf -n` or `eu-readelf -n`.
SEE ALSO
debuginfod(8), gdb(1), readelf(1)