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
This commit is contained in:
Mitchell Horne 2022-11-11 14:20:31 -04:00
parent 58cf3a69a5
commit d5f3e80f5a

View File

@ -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