Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 11:01:34 +0100
From:      "Robert N. M. Watson" <rwatson@freebsd.org>
To:        Navdeep Parhar <nparhar@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r225203 - in head/sys: dev/cfe dev/dcons dev/ofw dev/sio dev/syscons dev/uart kern pc98/cbus powerpc/mambo sys
Message-ID:  <2BCF41D5-3C69-4D35-B56E-D1D84BC8DD89@freebsd.org>
In-Reply-To: <CAPFoGT-Dz6jaA5MkLf3=r1YAocq-v-qweOCewRKoEXxUKHrr1Q@mail.gmail.com>
References:  <201108262146.p7QLkaBG072083@svn.freebsd.org> <CAPFoGT-Dz6jaA5MkLf3=r1YAocq-v-qweOCewRKoEXxUKHrr1Q@mail.gmail.com>

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

On 27 Aug 2011, at 09:21, Navdeep Parhar wrote:

>>  (3) options BREAK_TO_DEBUGGER and options ALT_BREAK_TO_DEBUGGER =
continue
>>      to behave as before -- only now instead of compiling in
>>      break-to-debugger support, they change the default values of the
>>      above sysctls to enable those features by default.  Current =
kernel
>>      configurations should, therefore, continue to behave as =
expected.
>=20
> Shouldn't opt_comconsole.h be included in subr_kdb.c for this part to
> actually work?


Yes, you're right.

We should almost certainly garbage collect opt_comconsole.h entirely at =
this point, moving the break options into opt_kdb.h as well. It also =
looks like I missed one of the ARM uart implementations during my walk =
of the tree as well. I'll send a follow-up patch to re@ today to refine =
this change further.

(The dcons Makefile also does something odd, in that it sets #define KDB =
in its own opt_kdb.h when built independently of the kernel, but =
actually, that's now #define KDB goes for the base kernel -- it goes in =
opt_global.h. I'll need to ponder what the right thing to do there is, =
and whether it's worth fixing at this point.)

Robert=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2BCF41D5-3C69-4D35-B56E-D1D84BC8DD89>