[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /usr/lib/debug/usr/lib etc. in various packages [bug 336698]

On Tue, Nov 01, 2005 at 12:19:07AM +0000, Darren Salt wrote:
> I've noticed that several files which should be in /usr/lib/debug are in fact
> in /usr/lib/debug/usr/lib. Checking via packages.d.o shows that as well as
> this, debug data is showing up in /usr/lib/debug/usr/bin and
> /usr/lib/debug/lib.

Further to Steve's comments, see section 15.2 of the GDB manual, "Debugging
Information in Separate Files".  It describes what actually goes on.  The
rationale for keeping full paths inside /usr/lib/debug is solid, too, once
you think about it -- without the hierarchy within /usr/lib/debug, you'd
have no way to store detached symbols for multiple executables with the same
name, unless the files were stored by some non-name-related scheme (ugly).

- Matt

Reply to: