]> git.ipfire.org Git - thirdparty/elfutils.git/commit
debuginfod-find.1: note on how to find a comp_dir
authorSerhei Makarov <serhei@serhei.io>
Tue, 10 Jan 2023 16:20:13 +0000 (11:20 -0500)
committerSerhei Makarov <serhei@serhei.io>
Fri, 13 Jan 2023 20:49:13 +0000 (15:49 -0500)
commita724bae8320c64d7af6d1acfc09327445180715e
tree40c08c6e350513558d2583683c8c5563e685b7e3
parentdcb40f9caa7ca30f6cae0f237c627bb5e4e4931c
debuginfod-find.1: note on how to find a comp_dir

doc/ChangeLog:

* debuginfod-find.1: add a note to DESCRIPTION section for the 'source'
  subcommand, clarifying where to find the CU compilation-directory.

I'm looking at how to improve and document the workflow for using
debuginfod-find to study the behaviour of packaged software on a system, e.g.
in conjunction with a tracing tool like SystemTap. You can read the exact
compiled source code with debuginfod-find source and use that to figure out
which source code locations are interesting to trace. But that process has
several non-obvious or inconvenient steps.

This patch is a clarification to the debuginfod-find source man page pointing
out the eu-readelf command that can show the comp_dir in downloaded debuginfo.
Since debuginfod-find source could be picked up and used by a developer
unfamiliar with DWARF terminology, I think such a clarification saves time
for newbies figuring out what a CU compilation-directory is.

Signed-off-by: Serhei Makarov <serhei@serhei.io>
doc/debuginfod-find.1