「Debuginfod」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
(リンクを日本語版に変更)
(セクション見出しを訳出)
6行目: 6行目:
 
[https://sourceware.org/elfutils/Debuginfod.html Debuginfod] is a service providing debug information over a HTTP API.
 
[https://sourceware.org/elfutils/Debuginfod.html Debuginfod] is a service providing debug information over a HTTP API.
   
== Installation ==
+
== インストール ==
   
 
{{Pkg|debuginfod}} を [[インストール]] します。
 
{{Pkg|debuginfod}} を [[インストール]] します。
   
== Usage ==
+
== 使い方 ==
   
 
{{Note|''debuginfod'' after version {{ic|0.186-3}} adds {{ic|DEBUGINFOD_URLS}} to the environment on login.}}
 
{{Note|''debuginfod'' after version {{ic|0.186-3}} adds {{ic|DEBUGINFOD_URLS}} to the environment on login.}}
32行目: 32行目:
 
See {{man|1|debuginfod-find}} for usage.
 
See {{man|1|debuginfod-find}} for usage.
   
  +
== デバッガのサポート ==
== Debugger support ==
 
   
 
Several debuggers support utilizing debuginfod to find debug symbol and source code listing.
 
Several debuggers support utilizing debuginfod to find debug symbol and source code listing.
47行目: 47行目:
 
|}
 
|}
   
== See also ==
+
== 参照 ==
   
 
* [https://sourceware.org/elfutils/Debuginfod.html Homepage]
 
* [https://sourceware.org/elfutils/Debuginfod.html Homepage]

2022年2月5日 (土) 09:00時点における版

関連記事

Debuginfod is a service providing debug information over a HTTP API.

インストール

debuginfodインストール します。

使い方

ノート: debuginfod after version 0.186-3 adds DEBUGINFOD_URLS to the environment on login.

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

参照