Re: working with split debug files and sectionless ELFs

Mike Frysinger
2011-10-14T17:06:06Z

[-- Attachment #1: Type: Text/Plain, Size: 889 bytes --]

On Friday 14 October 2011 12:25:31 Jan Kratochvil wrote:
> 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.

build-id is a section. my ELF has no sections. i'm back where i started :).
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]