https://sourceware.org/bugzilla/show_bug.cgi?id=32063

Mark Wielaard <mark at klomp dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mark at klomp dot org

--- Comment #1 from Mark Wielaard <mark at klomp dot org> ---
(In reply to Frank Ch. Eigler from comment #0)
> This might not be necessary or appropriate in the client side C code, as it
> is usually invoked as a *fallback* to system paths not being found.  ... 
> But some applications might directly call debuginfod_find_* APIs, rather
> than the searching elfutils paths, in which case looking in system paths
> might be appropriate.

It actually seems nice to add this functionality to libdebuginfod-client. Maybe
by adding the same kind of "magic" search paths with something like new
debuginfod_add_search_paths (debuginfod_client *client, const char *paths);

Where the paths are like those for dwfl_standard_find_debuginfo

/* The default used by dwfl_standard_find_debuginfo.  */
#define DEFAULT_DEBUGINFO_PATH ":.debug:/usr/lib/debug"

hmmm, I see there is no documentation what that search path string means. But
that could be fixed :)

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

Reply via email to