From 70a78df8b4ef95253c15c48d6694cfa3c174b336 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Thu, 28 Mar 2013 20:08:11 +0000 Subject: shuffle the KERNEL BUILDING text a little; from daniel dickman --- usr.sbin/config/config.8 | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'usr.sbin/config/config.8') diff --git a/usr.sbin/config/config.8 b/usr.sbin/config/config.8 index 95058f471f3..2e4ff93ec08 100644 --- a/usr.sbin/config/config.8 +++ b/usr.sbin/config/config.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: config.8,v 1.57 2013/03/27 16:39:30 jmc Exp $ +.\" $OpenBSD: config.8,v 1.58 2013/03/28 20:08:10 jmc Exp $ .\" $NetBSD: config.8,v 1.10 1996/08/31 20:58:16 mycroft Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)config.8 8.2 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: March 27 2013 $ +.Dd $Mdocdate: March 28 2013 $ .Dt CONFIG 8 .Os .Sh NAME @@ -132,11 +132,6 @@ If they seem to be the same, apply all configuration changes performed at boot. .El .Sh KERNEL BUILDING -Add -.Dq makeoptions DEBUG="-g" -to the kernel configuration file, along with (typically) -.Dq option KGDB . -.Pp The output of .Nm consists of a number of files, principally @@ -217,6 +212,14 @@ Otherwise, if generic is specified, the system follows generic routines to decide what should happen. .El .Pp +To debug kernels and their crash dumps with gdb, add +.Dq makeoptions DEBUG="-g" +to the kernel configuration file, along with (typically) +.Dq option KGDB . +Refer to +.Xr options 4 +for further details. +.Pp Many other statements exist, and the file format is fairly rich; for more information see the various configuration files included in the system, as well as -- cgit v1.2.3