LinuxCommandLibrary

debuginfod-find

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

ENVIRONMENT

DEBUGINFOD_URLS

Space-separated list of debuginfod server URLs

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)

Copied to clipboard