Date: Sat, 07 Aug 2010 05:05:31 -0400 From: jhell <jhell@dataix.net> To: Oliver Fromme <olli@lurza.secnetix.de> Cc: freebsd-stable@freebsd.org Subject: Re: Kernel symbol file alternate location Message-ID: <4C5D21DB.4040400@dataix.net> In-Reply-To: <201008061019.o76AJUQw031485@lurza.secnetix.de> References: <201008061019.o76AJUQw031485@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/06/2010 06:19, Oliver Fromme wrote: > Kostik Belousov <kostikbel@gmail.com> wrote: > > If you keep /usr/obj around, you do not need symbol files at all, > > and INSTALL_NODEBUG?=true in make.conf is enough. You can always > > use kernel.debug and modules with debugging symbols from build > > directory for kgdb. > > OK ... But that won't work for /boot/kernel.old. > > Best regards > Oliver > kernel /boot/kernel symbols /boot/sym When kernel is upgraded old kernel and sym becomes /boot/kernel.old /boot/sym.old If I remember correctly in a recent backtrace that I have tried when I used /boot/kernel.old/kernel the symbols ended up loading from /boot/kernel anyway and not the kernel.old directory. So whether these are moved to a different location or not I do not believe it will make that much of a difference on where they are loaded from. I may be wrong about this. IMO creating symlink's is going to be a bad way to handle this and adjusting the respective utilities that use the symbols is a much more permanent and failure safe way to go about this. Besides moving the location of the symbols and having a debugging utility or crash dump utility fail is not really a mission critical failure and would be able to be found and corrected fairly quick among the amount of people that are using these. $0.02 US Regards, -- jhell,v
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C5D21DB.4040400>