This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: working with split debug files and sectionless ELFs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]