Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2010 13:12:55 -0700
From:      Tim Judd <tajudd@gmail.com>
To:        Jason Garrett <kingedgar@gmail.com>
Cc:        FreeBSD-Questions <freebsd-questions@freebsd.org>
Subject:   Re: Debug still in kernel
Message-ID:  <ade45ae91003061212jda339baif03c49890cbfecab@mail.gmail.com>
In-Reply-To: <970380131003061159i49dbd22cl4ec4856adf2a340f@mail.gmail.com>
References:  <970380131003060754t32f70d1x9c40d716f01b325a@mail.gmail.com> <ade45ae91003061151u2c5e0dfcp2f72fd6b9467b5c@mail.gmail.com> <970380131003061159i49dbd22cl4ec4856adf2a340f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/6/10, Jason Garrett <kingedgar@gmail.com> wrote:
> On Sat, Mar 6, 2010 at 13:51, Tim Judd <tajudd@gmail.com> wrote:
>
>> On 3/6/10, Jason Garrett <kingedgar@gmail.com> wrote:
>> > Hello all,
>> >
>> > I am currently tracking RELENG_8_0. I did a csup last night and noticed
>> that
>> > debug is still enabled in the GENERIC kernel. I thought debugging was
>> > supposed to be left out once the 8 branch went RELEASE? Can anyone shed
>> > light on this subject?
>>
>> What makes you think debugging is still on?
>>
>
> >From /usr/src/sys/i386/conf/GENERIC
>
> makeoptions     DEBUG=-g                # Build kernel with gdb(1) debug
> symbols
> options         PREEMPTION              # Enable kernel thread preemption
>
> why are these still in GENERIC after release?

I can confirm debug symbols is still in the kernel, but that is most
likely used for backtraces and debugging when a kernel panic happens.
This is instead of asking the user who had a kernel panic to rebuild
with debugging to debug it.

PREEMPTION as I understand it should have been removed from the kernel
config file.  It should have been removed from the GENERIC config file
after RELENG_8_0_RELEASE tag is made.  I don't know what your tag is
when you update.  Perhaps you're copying or using a config file from
the BETA or RC days?


I'll help until I can't help no more with your issue.

--Tim



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