HEADS UP: Standalone kernel debug files moving out of /boot/kernel/

Andriy Gapon avg at FreeBSD.org
Thu Nov 6 12:34:04 UTC 2014


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


More information about the freebsd-current mailing list