Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/freebsd-src.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2022-11-11 21:20:31 +0300
committerMitchell Horne <mhorne@FreeBSD.org>2022-11-11 21:25:38 +0300
commitd5f3e80f5a0b64ccde9ab6856766fc565e795393 (patch)
treec316156f90994b1ba3eeed2d3f405bfe4e0c0508
parent58cf3a69a5590a159b6271b0cb74bbec72245f26 (diff)
netgdb(4): update list of required kernel options
The man page claims that netgdb will be enabled automatically with the presence of the DDB, GDB, and INET options. Based on the logic in conf/files, this is not the case. Update the manpage to list all of the options required to include netgdb. Reviewed by: pauamma, markj MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D37330
-rw-r--r--share/man/man4/netgdb.413
1 files changed, 8 insertions, 5 deletions
diff --git a/share/man/man4/netgdb.4 b/share/man/man4/netgdb.4
index aaa2a2801ca7..81bc2fe969a1 100644
--- a/share/man/man4/netgdb.4
+++ b/share/man/man4/netgdb.4
@@ -24,18 +24,21 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 17, 2019
+.Dd November 10, 2022
.Dt NETGDB 4
.Os
.Sh NAME
.Nm netgdb
.Nd protocol for debugging the kernel with GDB over the network
.Sh SYNOPSIS
-NetGDB support is compiled by default, if DDB, GDB, and INET are enabled.
-To build a kernel without it, add the following line to your kernel
-configuration file:
+To compile NetGDB support into the kernel, place the following lines in your
+kernel configuration file:
.Bd -ragged -offset indent
-.Cd "nooptions NETGDB"
+.Cd "options DDB"
+.Cd "options GDB"
+.Cd "options INET"
+.Cd "options DEBUGNET"
+.Cd "options NETGDB"
.Ed
.Sh DESCRIPTION
.Nm