[Bug tools/25793] eu-readelf -w dumps incomplete even if debuginfod available

mark at klomp dot org sourceware-bugzilla@sourceware.org
Sun Jun 7 21:04:57 GMT 2020


--- Comment #3 from Mark Wielaard <mark at klomp dot org> ---
We could maybe add something like --dwarf=follow-links to eu-readelf. But the
DWARF information dumping is already somewhat different from the rest of
eu-readelf. The basic idea of eu-readelf is that you can dump headers, segments
and sections data.  This is somewhat lower level than what you are usually
after when using DWARF. If you look at how eu-readelf dumps various .debug
sections you'll see that it really just dumps the data, and doesn't use libdw
at all. There are sometimes two ways to dump the section data
(--debug-dump=line and --debug-dump=decodedline), one which dumps the "raw"
data and one which uses libdw to decode the data first. So maybe we really need
a new tool to dump "decoded" DWARF, which isn't concerned with how the DWARF
data is precisely encoded, but just shows the information. For such a tool
(eu-dwarfdump ?) it would make perfect sense to follow, search and download
extra files when necessary.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list