Debuginfod
ナビゲーションに移動
検索に移動
関連記事
Debuginfod is a service providing debug information over a HTTP API.
インストール
debuginfod を インストール します。
使い方
Set the 環境変数 which tells the tooling where to look for debug symbols:
export DEBUGINFOD_URLS="https://debuginfod.archlinux.org/"
One can also use https://debuginfod.elfutils.org/
which works as a federated server and queries all available debuginfod servers.
Now a debugger can fetch debug symbols without having to install the appropriate debug package.
$ gdb /usr/bin/i3
[...] Reading symbols from /usr/bin/i3... Downloading 1.56 MB separate debug info for /usr/bin/i3 Reading symbols from /home/user/.cache/debuginfod_client/29129d26dbe557d2b56daf90327f64f527304dc1/debuginfo... (gdb)
See debuginfod-find(1) for usage.
デバッガのサポート
Several debuggers support utilizing debuginfod to find debug symbol and source code listing.
Package | Status | Notes |
---|---|---|
gdb | Supported | |
delve | Partial Support | Supports debug symbols, missing source listing |
KDE Crash Report | Supported |