Date: Sat, 6 Nov 2010 19:56:03 +0200 From: Kostik Belousov <kostikbel@gmail.com> To: Ed Maste <emaste@freebsd.org> Cc: freebsd-hackers@freebsd.org, Gleb Kurtsou <gleb.kurtsou@gmail.com>, Mark Johnston <markjdb@gmail.com> Subject: Re: Userland debug symbols directory Message-ID: <20101106175603.GL2392@deviant.kiev.zoral.com.ua> In-Reply-To: <20101106173620.GA45793@sandvine.com> References: <20101105191443.GD1437@mark-laptop-bsd.mark-home> <20101105204519.GA2843@tops> <20101106173620.GA45793@sandvine.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--VD/LOZLa8Ox1/mf9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > > I like the idea a lot, but why not to leave symbol files in /usr/obj, >=20 > 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. --VD/LOZLa8Ox1/mf9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAkzVlrMACgkQC3+MBN1Mb4gG/gCgtmLvVgGVDvNMt17kjb0tjQYZ m28AoJWQALYTXLMDO/6cjyam052H4tlO =XmB5 -----END PGP SIGNATURE----- --VD/LOZLa8Ox1/mf9--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101106175603.GL2392>