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

From: Garrett Cooper <yaneurabeya_at_gmail.com>
Date: Thu, 30 Oct 2014 09:50:16 -0700
On Oct 30, 2014, at 7:15, Ed Maste <emaste_at_freebsd.org> wrote:

…

>>> Whether that is /boot/kernel/symbols/*
>>> or /usr/lib/***, I couldn’t care less
> 
> Note that if they go in /boot/kernel/symbols/ then we have to teach
> GDB, LLDB, and other tools to look there; if they go in /usr/lib/debug
> they're found automatically by the debuggers.
> 
> We may have to add standalone debug path support to other tools, but
> it's very little additional work.

	Teaching gdb/lldb/etc to look in ${DEBUGDIR} for each element in `kenv module_path` would be really nice. It won’t fix debug info with all kids (open-vm-tools or virtualbox installs to /usr/local IIRC), but it’s better than nothing.
Thanks!

Received on Thu Oct 30 2014 - 15:50:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:53 UTC