Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Nov 2014 14:32:56 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Mark Johnston <markjdb@gmail.com>
Cc:        David Chisnall <theraven@FreeBSD.org>, FreeBSD Current <freebsd-current@FreeBSD.org>, Ed Maste <emaste@FreeBSD.org>, Kevin Oberman <rkoberman@gmail.com>
Subject:   Re: HEADS UP: Standalone kernel debug files moving out of /boot/kernel/
Message-ID:  <545B6A78.6000907@FreeBSD.org>
In-Reply-To: <20141029175833.GC80471@ip-172-31-25-62.ec2.internal>
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> <54511184.2020600@FreeBSD.org> <20141029175833.GC80471@ip-172-31-25-62.ec2.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29/10/2014 19:58, Mark Johnston wrote:
> A while ago I wrote some code for libproc to handle .gnu_debuglink and
> read stripped sections out of the standalone debug file.

Just in case, I have an ugly-ish local patch for that too:
https://github.com/avg-I/freebsd/compare/wip/libproc-support-debug-files

> It seemed to me
> though that that kind of functionality really belongs somewhere more
> central, maybe in libelf. I'm not really sure what the interface should
> look like; I haven't seen any other libraries that handle external debug
> files, aside from bfd.
> 
> Also note that DTrace doesn't strictly need userland symbols to work.
> The pid provider is a lot more useful if they're available though.

Some thoughts on all of the above.

-- 
Andriy Gapon



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