Re: working with split debug files and sectionless ELFs

Jan Kratochvil
2011-10-14T16:25:55Z

On Fri, 14 Oct 2011 17:49:24 +0200, Jan Kratochvil wrote:
> Using the ".debug" extension is too slow as the file needs to be checksummed
> first. One should use /usr/lib/debug/.build-id/ instead. Still the argument
> applies even /usr/lib/debug/.build-id/ is skipped without .debug_link. But
> for /usr/lib/debug/.build-id/ you do not need to assume any ".debug" suffix.

That's not true - one can check just the build-id note even if one finds it by
the ".debug" suffix; just GDB currently does not do so. Although I do not
think it is useful in any way - if build-id is already present it can be used
for the filename as it prevents name clashes during multiple versions
installed, moved files etc.

Regards,
Jan