]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
PR33937: docs: catch up debuginfod-find / client docs to code
authorFrank Ch. Eigler <fche@redhat.com>
Tue, 3 Mar 2026 13:17:17 +0000 (08:17 -0500)
committerFrank Ch. Eigler <fche@elastic.org>
Tue, 3 Mar 2026 13:17:17 +0000 (08:17 -0500)
Some options the code has supported forever were not documented in the
man pages, and the general client docs were a little too confident.

Signed-off-by: Frank Ch. Eigler <fche@elastic.org>
doc/debuginfod-client-config.7
doc/debuginfod-find.1

index bb33fb0b8b6e9043c902ea6189b96b9717888a2c..708601e54152c5835bfe167ff3b694a52889485a 100644 (file)
@@ -13,6 +13,8 @@ Several environment variables and control files control the behaviour of debugin
 .zZ
 .\" The following section (only) gets included into other man pages via .so
 
+The following information is generic.  Some debuginfod clients may
+internally override defaults listed here.
 
 .SH ENVIRONMENT VARIABLES
 .TP
index 38b5b0184dfef9307df48acd60132e5e14a33307..339d5a340d89353e1d974baef71fa588626d82b1 100644 (file)
@@ -61,10 +61,10 @@ Then the hexadecimal BUILDID is simply:
 .ESAMPLE
 
 In place of the hexadecimal \fIBUILDID\fP, debuginfod-find also
-accepts a path name to to an ELF binary, from which it extracts the
-buildid.  In this case, ensure the file name has some character other
-than \fB[0-9a-f]\fP.  Files ambiguously named files like
-"\fBdeadbeef\fP" can be passed with a \fB./deadbeef\fP extra path
+accepts a \fIPATH\fP name to to an ELF binary, from which it extracts
+the buildid.  This alternative is triggered if the file name has some
+character other than \fB[0-9a-f]\fP.  Files ambiguously named files
+like "\fBdeadbeef\fP" can be passed with a \fB./deadbeef\fP extra path
 component.
 
 
@@ -121,6 +121,13 @@ l l.
 \../bar/foo.c AT_comp_dir=/zoo/        source BUILDID /zoo//../bar/foo.c
 .TE
 
+.SS section \fIBUILDID\fP \fISECTION-NAME\fP
+
+If the given buildid is known to the server, this request will result
+in a binary file that contains the raw section contents, whether it is
+found in an executable or a separated debuginfo file.
+
+
 .SS metadata \fIKEY\fP \fIVALUE\fP
 
 All designated debuginfod servers are queried for metadata about all
@@ -174,7 +181,7 @@ NAME        TYPE    DESCRIPTION
 
 It's worth noting that \fBtype\fP cannot be \fBsource\fP since in order
 to perform such a search fast enough additional indexing would need to be added to
-the database which would nearly double it's size.
+the database which would nearly double its size.
 
 The search also always combines both files and archives in the results
 and at this time further granularity is not availible.
@@ -182,10 +189,13 @@ and at this time further granularity is not availible.
 .SH "OPTIONS"
 
 .TP
-.B "\-v"
+.B "\-v" "\-\-verbose"
 Increase verbosity, including printing frequent download-progress messages
 and printing the http response headers from the server.
 
+.TP
+.B "\-\-help" "\-\-usage"
+Print some help and exit.
 
 .SH "SECURITY"