* [Bug debuginfod/30000] New: debuginfod-find should have a source-list verb
@ 2023-01-13 20:55 fche at redhat dot com
2023-01-13 20:58 ` [Bug debuginfod/30000] " serhei at serhei dot io
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: fche at redhat dot com @ 2023-01-13 20:55 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30000
Bug ID: 30000
Summary: debuginfod-find should have a source-list verb
Product: elfutils
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: debuginfod
Assignee: unassigned at sourceware dot org
Reporter: fche at redhat dot com
CC: elfutils-devel at sourceware dot org
Target Milestone: ---
Let's implement
% debuginfod-find source-list PATH|BUILDID
so it fetches the debuginfo, then runs the dwarf_getsrcfiles / dwarf_getsrcdirs
/ CU comp_dir traversal, and prints a deduped list of all CUs' source file
lists. An adventurous user can then use that to fetch all source files of a
particular binary.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debuginfod/30000] debuginfod-find should have a source-list verb
2023-01-13 20:55 [Bug debuginfod/30000] New: debuginfod-find should have a source-list verb fche at redhat dot com
@ 2023-01-13 20:58 ` serhei at serhei dot io
2023-09-26 15:10 ` [Bug debuginfod/30000] introduce new srcfiles tool fche at redhat dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: serhei at serhei dot io @ 2023-01-13 20:58 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30000
Serhei Makarov <serhei at serhei dot io> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |serhei at serhei dot io
Assignee|unassigned at sourceware dot org |serhei at serhei dot io
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debuginfod/30000] introduce new srcfiles tool
2023-01-13 20:55 [Bug debuginfod/30000] New: debuginfod-find should have a source-list verb fche at redhat dot com
2023-01-13 20:58 ` [Bug debuginfod/30000] " serhei at serhei dot io
@ 2023-09-26 15:10 ` fche at redhat dot com
2023-09-26 20:01 ` fche at redhat dot com
2023-10-24 20:00 ` amerey at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2023-09-26 15:10 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30000
Frank Ch. Eigler <fche at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|debuginfod-find should have |introduce new srcfiles tool
|a source-list verb |
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debuginfod/30000] introduce new srcfiles tool
2023-01-13 20:55 [Bug debuginfod/30000] New: debuginfod-find should have a source-list verb fche at redhat dot com
2023-01-13 20:58 ` [Bug debuginfod/30000] " serhei at serhei dot io
2023-09-26 15:10 ` [Bug debuginfod/30000] introduce new srcfiles tool fche at redhat dot com
@ 2023-09-26 20:01 ` fche at redhat dot com
2023-10-24 20:00 ` amerey at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: fche at redhat dot com @ 2023-09-26 20:01 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30000
--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
Work is now proceeding instead toward a tool src/srcfiles to list names of
source files from dwarf content.
A hypothetical followup idea: an option for srcfiles and/or debuginfod-find
that uses this list to construct a tarball of source files themselves (fetched
via debuginfod).
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug debuginfod/30000] introduce new srcfiles tool
2023-01-13 20:55 [Bug debuginfod/30000] New: debuginfod-find should have a source-list verb fche at redhat dot com
` (2 preceding siblings ...)
2023-09-26 20:01 ` fche at redhat dot com
@ 2023-10-24 20:00 ` amerey at redhat dot com
3 siblings, 0 replies; 5+ messages in thread
From: amerey at redhat dot com @ 2023-10-24 20:00 UTC (permalink / raw)
To: elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=30000
Aaron Merey <amerey at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amerey at redhat dot com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Aaron Merey <amerey at redhat dot com> ---
srcfiles tool has been added in the following commit
commit cb4f0e0fffbcdb124bd1b82f558095a9c7aa64b1
Author: Housam Alamour <halamour@redhat.com>
Date: Thu Sep 7 14:29:19 2023 -0400
PR 30000: debuginfod-find should have a source-list verb
* seclines.cxx: Introduce new tool that compiles a list of source
files associated with a specified dwarf/elf file. This
compilation relies on searching the dwarf debug information,
which can be automatically retrieved via debuginfod using
libdwfl functions when required. The target file can
encompass various types, such as an executable, a coredump,
a running process, or the currently executing kernel. The
source file names are rendered as unique entries and then
displayed on the standard output.
* run-srcfiles-self.sh: New test-case for tool.
https://sourceware.org/bugzilla/show_bug.cgi?id=30000
Signed-off-by: Housam Alamour <halamour@redhat.com>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2023-10-24 20:00 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-13 20:55 [Bug debuginfod/30000] New: debuginfod-find should have a source-list verb fche at redhat dot com
2023-01-13 20:58 ` [Bug debuginfod/30000] " serhei at serhei dot io
2023-09-26 15:10 ` [Bug debuginfod/30000] introduce new srcfiles tool fche at redhat dot com
2023-09-26 20:01 ` fche at redhat dot com
2023-10-24 20:00 ` amerey at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).