Expanding control over debuginfod usage from dwfl [was: Re: Questions regarding debuginfod.h API]
Frank Ch. Eigler
fche@redhat.com
Wed Jul 6 19:54:45 GMT 2022
Hi -
> I'm working on GUI applications (hotspot [1], gammaray [2]), people do not
> look at the command line output. I want to show the download progress and
> status graphically instead. [...]
Aha, got it. I'd say a
extern debuginfod_client *dwfl_get_debuginfod_client (Dwfl *);
type function would probably be your bet. That could also be built
upon later, to provide finer grained control (to override environment
variable settings e.g.).
The other approach of a custom Dwfl_Callbacks .find_debuginfo hook is
also available, wherein your own app can take charge of finding /
downloading debuginfo, with its own bespoke debuginfod_client object.
This would have the benefit of working with existing elfutils.
- FChE
More information about the Elfutils-devel
mailing list