From owner-freebsd-current@FreeBSD.ORG Wed Oct 29 14:20:47 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BEDDF130; Wed, 29 Oct 2014 14:20:47 +0000 (UTC) Received: from mail-wg0-x232.google.com (mail-wg0-x232.google.com [IPv6:2a00:1450:400c:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 06CAEF25; Wed, 29 Oct 2014 14:20:46 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id z12so1982427wgg.37 for ; Wed, 29 Oct 2014 07:20:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=k+JibDu2Fr6H6CKc3p3k+zEQ8pYWE0JKRxv32UFDgPk=; b=HejJg4s+eFNvByXXfJuoayCvzdcI6VdM/teuOYAkp+0UsddvZOmlTncnpCjNjRIhSg iA42FGEPjF9uHNvBSlDjglT/KjvV9cvR8luhx7ZEVDbTiqvrH5NGuLgsTsatwWK2QDk9 OIiqcTgwyXfxRCxS5F57py5bRwFqkYSHHTJbQpi62idwCgNoO2dg+BmXse0lWBqbPnTZ E7CL4kZIGmYEPBLZVu15FTC3dLo0/lQjrcNidMxwkzxySmKGf07tDnJ1lEzY33jKsBp5 jcZrQxmf7lWLwQVec7IqC4Te1dHCVXt7Ru1FRRQUiVJ1loZAs6bLO7mwFtH3Q9K93674 dC2g== X-Received: by 10.194.48.84 with SMTP id j20mr12861529wjn.35.1414592445325; Wed, 29 Oct 2014 07:20:45 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id r10sm1793317wiy.19.2014.10.29.07.20.44 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 07:20:44 -0700 (PDT) Sender: Baptiste Daroussin Date: Wed, 29 Oct 2014 15:20:42 +0100 From: Baptiste Daroussin To: Ed Maste Subject: Re: HEADS UP: Standalone kernel debug files moving out of /boot/kernel/ Message-ID: <20141029142042.GC9726@ivaldir.etoilebsd.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Kevin Oberman , FreeBSD Current , David Chisnall X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 14:20:47 -0000 --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 29, 2014 at 10:17:33AM -0400, Ed Maste wrote: > On 29 October 2014 05:05, David Chisnall wrote: > > On 29 Oct 2014, at 03:11, Ed Maste wrote: > > > >> /usr/lib/debug is the standard location for standalone debug data > >> established by GDB, and seems like a decent enough location. I'll make > >> sure to update the man page. > > > > Do gdb and lldb also look in /usr/local/lib/debug? If not, it would be= great if we could at least teach lldb to do this so that we can start thin= king about splitting debug info into separate packages for ports (and provi= ding it as an optional install for everything). >=20 > Not yet, but it's trivial to add for at least LLDB. My end goal is > what you describe - kernel, base system userland, and packages/ports > can all provide standalone debug packages which will install to a > consistent and well-known location, and be picked up automatically by > the debugger. >=20 > Part of this project depends on moving past our old binutils though, > so we can start using the build-id ELF note to link the executable or > library with its associated debug data. Port debuginfo packages are coming sooner than later so yeah lldb reading a default standard location in localbase would be nice :) regards, Bapt --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRQ97oACgkQ8kTtMUmk6Eys5wCdHA7Ofh5Bao65bU5A/4K0XffZ 668An3Nt/1tFf/486u/fv64mFGGZbaMA =MahV -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi--