「Debuginfod」の版間の差分

提供: ArchWiki
ナビゲーションに移動 検索に移動
 
(リンクを日本語版に変更)
1行目: 1行目:
[[Category:Package development]]
+
[[Category:パッケージ開発]]
 
{{Related articles start}}
 
{{Related articles start}}
{{Related|Debugging/Getting traces}}
+
{{Related|デバッグ/トレースを取得}}
 
{{Related articles end}}
 
{{Related articles end}}
   
8行目: 8行目:
 
== Installation ==
 
== Installation ==
   
[[Install]] {{Pkg|debuginfod}}.
+
{{Pkg|debuginfod}} を [[インストール]] します。
   
 
== Usage ==
 
== Usage ==
14行目: 14行目:
 
{{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.}}
   
Set the [[environment variable]] which tells the tooling where to look for debug symbols:
+
Set the [[環境変数]] which tells the tooling where to look for debug symbols:
   
 
export DEBUGINFOD_URLS="<nowiki>https://debuginfod.archlinux.org/</nowiki>"
 
export DEBUGINFOD_URLS="<nowiki>https://debuginfod.archlinux.org/</nowiki>"

2022年2月4日 (金) 09:16時点における版

関連記事

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

Installation

debuginfodインストール します。

Usage

ノート: 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.

Debugger support

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

See also