From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 28 14:48:09 2011 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 D68EE106566B for ; Wed, 28 Sep 2011 14:48: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 365028FC13 for ; Wed, 28 Sep 2011 14:48:08 +0000 (UTC) Received: from alf.home (alf.kiev.zoral.com.ua [10.1.1.177]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id p8SElxGt043670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 28 Sep 2011 17:47:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from alf.home (kostik@localhost [127.0.0.1]) by alf.home (8.14.5/8.14.5) with ESMTP id p8SElxnk048083; Wed, 28 Sep 2011 17:47:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by alf.home (8.14.5/8.14.5/Submit) id p8SElxCv048082; Wed, 28 Sep 2011 17:47:59 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: alf.home: kostik set sender to kostikbel@gmail.com using -f Date: Wed, 28 Sep 2011 17:47:59 +0300 From: Kostik Belousov To: Ryan Stone Message-ID: <20110928144759.GC1511@deviant.kiev.zoral.com.ua> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2UusUvefyJ2PB+/T" Content-Disposition: inline In-Reply-To: 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.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: FreeBSD Hackers , Arnaud Lacombe , Mark Johnston Subject: Re: Installation of kernel symbols file in a separate directory [Was: Re: Experiences with FreeBSD 9.0-BETA2] 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: Wed, 28 Sep 2011 14:48:09 -0000 --2UusUvefyJ2PB+/T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 28, 2011 at 10:30:06AM -0400, Ryan Stone wrote: > You might be interested in this PR: >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D153157&cat=3D >=20 > This does the same thing for userland .symbols files, and teaches gdb > how to find them. The patch is not committable as is. In particular, the patch hardcodes the /usr/src as the source location. I think the right thing to do is to install the stripbin.sh into usr/bin, might be under the name like freebsd_stripbin. Also, I think the script should use the full pathes to the utilities, but I am not sure about this part, esp. in regard the cross-build. --2UusUvefyJ2PB+/T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk6DM58ACgkQC3+MBN1Mb4hqxACfe8kq+hckGrm/oKYfOuMsQQan h+oAoPPcJjfXrRE0VgQ0jNB8/yezT5Gd =61K6 -----END PGP SIGNATURE----- --2UusUvefyJ2PB+/T--