https://sourceware.org/bugzilla/show_bug.cgi?id=20876
Mark Wielaard <mark at klomp dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mark at klomp dot org --- Comment #3 from Mark Wielaard <mark at klomp dot org> --- Just a note that elfutils searches only the (global?) absolute debuginfo paths directly. So given the default of "":.debug:/usr/lib/debug", it skips the "" relative cwd and the ".debug" postfix, but only tries /usr/lib/debug/.build-id/xx/yyyy.debug So the search strategy of elfutils for a separate .debug file given a build-id xxyyyy and a list of debuginfo search paths is to take the absolute paths (starting with '/') and trying /path/.build-id/xx/yyyy.debug. Where the default list of (absolute) debuginfo search paths is just "/usr/lib/debug". It then takes the canonicalize_file_name assuming it might be a symlink and the user might find the resolved name more interesting. As a sanity check elfutils also only allows build-ids that are at a minimum 4 and at a maximum 64 hex characters long. It does normally also verify that the found file does contain the build-id it should and reject the file if it doesn't. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils