https://sourceware.org/bugzilla/show_bug.cgi?id=32063
Omar Sandoval <osandov at osandov dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |osandov at osandov dot com --- Comment #2 from Omar Sandoval <osandov at osandov dot com> --- (In reply to Mark Wielaard from comment #1) > 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 :) It's documented in the comment for dwfl_build_id_find_elf: https://sourceware.org/git/?p=elfutils.git;a=blob;f=libdwfl/libdwfl.h;hb=0abdd2e7979fc18fc5d71af43f95b4827783b0b1#l254. I think this is a neat idea for the client library, but preferably opt-in since (as you pointed out) many existing users handle the system paths themselves and fall back to debuginfod. -- You are receiving this mail because: You are on the CC list for the bug.