[PATCH] libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo.

Mark Wielaard mark@klomp.org
Wed May 6 11:07:09 GMT 2020


On Fri, 2020-05-01 at 00:07 +0200, Mark Wielaard wrote:
> When we fall back to the debuginfod client then we need to do the
> same trick we do for local lookups in dwfl_build_id_find_debuginfo.
> If the debug file (dw) is already set, then we must be looking for
> the altfile. But we cannot use the actual file/path name given as
> hint. We'll have to lookup the alt file "build-id". Because the
> debuginfod client only handles build-ids.
> Previously we would use the build-id of the main file which meant
> the debuginfod client would give us another copy of the debug file,
> which would then be set as its own altfile. This caused lots of
> confusion...

After some more testing in Fedora, pushed this to master.



More information about the Elfutils-devel mailing list