summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2013-03-28 20:08:10 +0000
committerjmc <jmc@openbsd.org>2013-03-28 20:08:10 +0000
commit193a8c9b1b6bba548370ef35b074cd7bfa455ce0 (patch)
treef40f030f33d76c5f19a32658163457fa52f612b3
parentPrevent a panic during rtsx(4) attachment. If a card is inserted while booting (diff)
downloadwireguard-openbsd-193a8c9b1b6bba548370ef35b074cd7bfa455ce0.tar.xz
wireguard-openbsd-193a8c9b1b6bba548370ef35b074cd7bfa455ce0.zip
shuffle the KERNEL BUILDING text a little; from daniel dickman
-rw-r--r--usr.sbin/config/config.817
1 files changed, 10 insertions, 7 deletions
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