summaryrefslogtreecommitdiffstats
path: root/share/man/man4/options.4
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2016-11-29 13:57:34 +0000
committermpi <mpi@openbsd.org>2016-11-29 13:57:34 +0000
commit33af6055a4b7dd6da8bb30d6cd10f5d0534d90a3 (patch)
tree6662d0695d49457c4e5028edbab0639a50cd577a /share/man/man4/options.4
parentDon't expose the xen_softc pointer in the XenStore transaction struct (diff)
downloadwireguard-openbsd-33af6055a4b7dd6da8bb30d6cd10f5d0534d90a3.tar.xz
wireguard-openbsd-33af6055a4b7dd6da8bb30d6cd10f5d0534d90a3.zip
Some tweaks reflecting that DEBUG=-g is the default for building kernels.
With jmc@
Diffstat (limited to 'share/man/man4/options.4')
-rw-r--r--share/man/man4/options.414
1 files changed, 5 insertions, 9 deletions
diff --git a/share/man/man4/options.4 b/share/man/man4/options.4
index 7d9ecf9baab..7bb2a5520dd 100644
--- a/share/man/man4/options.4
+++ b/share/man/man4/options.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: options.4,v 1.244 2016/09/18 14:28:04 deraadt Exp $
+.\" $OpenBSD: options.4,v 1.245 2016/11/29 13:57:34 mpi Exp $
.\" $NetBSD: options.4,v 1.21 1997/06/25 03:13:00 thorpej Exp $
.\"
.\" Copyright (c) 1998 Theo de Raadt
@@ -34,7 +34,7 @@
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: September 18 2016 $
+.Dd $Mdocdate: November 29 2016 $
.Dt OPTIONS 4
.Os
.Sh NAME
@@ -54,8 +54,9 @@ options are passed to the compile process as
flags to the C compiler.
.Sh DEBUGGING OPTIONS
.Bl -ohang
-.It Cd makeoptions DEBUG="-g"
-The
+.It Cd makeoptions DEBUG=""
+By default
+the
.Fl g
flag causes
.Pa bsd.gdb
@@ -109,8 +110,6 @@ conditional debugging code.
Note that many parts of the kernel (typically device drivers) include their own
.Em #ifdef XXX_DEBUG
conditionals instead.
-This option also turns on certain other options, notably
-.Cm option KMEMSTATS .
.It Cd option DIAGNOSTIC
Adds code to the kernel that does internal consistency checks.
This code will cause the kernel to panic if corruption of internal data
@@ -345,9 +344,6 @@ Makes the boot process more verbose for EISA peripherals.
The kernel memory allocator,
.Xr malloc 9 ,
will keep statistics on its performance if this option is enabled.
-Note that this option is silently turned on by the
-.Cm DEBUG
-option.
.It Cd option MACOBIOVERBOSE
Makes the boot process more verbose for OBIO peripherals on the
.Va macppc