LinuxCommandLibrary

debuginfod-find

client for requesting debug information from debuginfod servers

TLDR

Request debuginfo based on build ID

$ debuginfod-find -vv debuginfo [build_id]
copy

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 file
executable build-id
Fetch executable file
source 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).

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)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community