[PATCH] libdwfl: add dwfl_local_find_debuginfo callback

Nick Gasson nick@nickg.me.uk
Sun Jul 4 14:12:20 GMT 2021


Hi Mark,

On 03/07/21 05:59 am, Mark Wielaard wrote:
>
> I wonder if we can use the Dwfl_Callbacks debuginfo_path for this
> instead of introducing a dwfl_standard_find_debuginfo variant. That
> might make things a bit more configurable.
>
> Something like the following maybe:
>
> - If the last path element is "@" then the debuginfo client won't be used.
> - If the last path element is "@{URLs}" (space separated) then the debuginfo client
>   will be used with to given URLs.
> - If there is no path element starting with @ then the default debuginfo client
>   will be used after all local searches failed (or not when DEBUGINFOD_URLS isn't set).
>
> Does that sound helpful? Does it make sense to make things configurable like this?
>

Thanks for the reply.  Yes I think this will work fine for my case.

--
Nick



More information about the Elfutils-devel mailing list