Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2005 00:50:51 -0800
From:      Xin LI <delphij@gmail.com>
To:        Simon Ironside <sironside@interfone.net>
Cc:        stable@freebsd.org, questions@freebsd.org
Subject:   Re: 6.0R GENERIC makeoptions DEBUG=-g
Message-ID:  <a78074950511140050t44496b25vfd8144c3b72830cf@mail.gmail.com>
In-Reply-To: <43784DC6.4000809@interfone.net>
References:  <436BCD90.40709@interfone.net> <43784DC6.4000809@interfone.net>

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

Hi, Simon,

On 11/14/05, Simon Ironside <sironside@interfone.net> wrote:
> Hi,
>
> /sys/i386/conf/GENERIC has this line uncommented - is this on purpose? I
> commented it out before building a new kernel.
>
> makeoptions     DEBUG=-g

I think this is intentional.  Having DEBUG=-g means that you have a
kernel.debug which contains debugging symbols, which is quite useful
if you get a kernel panic and want to report it back.  On the other
hand, debugging symbols would be stripped before you install a new
kernel so it does not affect the running kernel.

Cheers,
--
Xin LI <delphij@delphij.net> http://www.delphij.net


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