Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Oct 2014 15:20:42 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Ed Maste <emaste@freebsd.org>
Cc:        Kevin Oberman <rkoberman@gmail.com>, FreeBSD Current <freebsd-current@freebsd.org>, David Chisnall <theraven@freebsd.org>
Subject:   Re: HEADS UP: Standalone kernel debug files moving out of /boot/kernel/
Message-ID:  <20141029142042.GC9726@ivaldir.etoilebsd.net>
In-Reply-To: <CAPyFy2AzoiP-cNf1NWFJa4KgOeqcRsqCZyvWAuayrRjz6tbfpg@mail.gmail.com>
References:  <CAPyFy2APVUxpAztmWY-ux7gUZ7B8Qk65CLHV_fVYmxsazKgCPg@mail.gmail.com> <CAN6yY1u8nEQQgY8ujj-3q5QaQXz0B35j6EADxbu0eqYuFb2CeA@mail.gmail.com> <CAPyFy2A0PW=yJO3FZN6Ks5RfwdO-=QDd465abpsYSgRQpFVyCg@mail.gmail.com> <B02B940F-986E-4A91-A3F2-B481DC64FB25@FreeBSD.org> <CAPyFy2AzoiP-cNf1NWFJa4KgOeqcRsqCZyvWAuayrRjz6tbfpg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <theraven@freebsd.org> wrote:
> > On 29 Oct 2014, at 03:11, Ed Maste <emaste@freebsd.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141029142042.GC9726>