From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 6 17:56:09 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B6015106566B for ; Sat, 6 Nov 2010 17:56:09 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id 2D7588FC14 for ; Sat, 6 Nov 2010 17:56:08 +0000 (UTC) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id oA6Hu4Q8018564 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 6 Nov 2010 19:56:04 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4) with ESMTP id oA6Hu3FR073497; Sat, 6 Nov 2010 19:56:03 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.4/8.14.4/Submit) id oA6Hu3EG073496; Sat, 6 Nov 2010 19:56:03 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 6 Nov 2010 19:56:03 +0200 From: Kostik Belousov To: Ed Maste Message-ID: <20101106175603.GL2392@deviant.kiev.zoral.com.ua> References: <20101105191443.GD1437@mark-laptop-bsd.mark-home> <20101105204519.GA2843@tops> <20101106173620.GA45793@sandvine.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VD/LOZLa8Ox1/mf9" Content-Disposition: inline In-Reply-To: <20101106173620.GA45793@sandvine.com> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.4 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DNS_FROM_OPENWHOIS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-hackers@freebsd.org, Gleb Kurtsou , Mark Johnston Subject: Re: Userland debug symbols directory X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2010 17:56:09 -0000 --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--