Userland debug symbols directory

Kostik Belousov kostikbel at gmail.com
Sat Nov 6 17:56:09 UTC 2010


On Sat, Nov 06, 2010 at 01:36:20PM -0400, Ed Maste wrote:
> On Fri, Nov 05, 2010 at 10:45:19PM +0200, Gleb Kurtsou wrote:
> 
> > I like the idea a lot, but why not to leave symbol files in /usr/obj,
> 
> The application where this is most useful (and why we implemented it
> originally) is the case where /usr/obj isn't available - for instance,
> a binary installation other than where the source tree was built.  If
> you're going to keep /usr/obj around anyway then you can get most of
> the benefit by just keeping the unstripped binaries / libs in there,
> no?
Not that easy, since you have to arrange to use libraries from obj/,
by LD_LIBRARY_PATH etc.

I fully support the work to install symbol files, and it should go
into /usr, might be /usr/lib/debug. Possibly, some change to gdb (config)
is required.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20101106/1101dc1a/attachment.pgp


More information about the freebsd-hackers mailing list