git: d0a8312752d4 - stable/13 - netgdb(4): update list of required kernel options

From: Mitchell Horne <mhorne_at_FreeBSD.org>
Date: Mon, 14 Nov 2022 17:10:37 UTC
The branch stable/13 has been updated by mhorne:

URL: https://cgit.FreeBSD.org/src/commit/?id=d0a8312752d41b443c08b1224f585f174f3eb2c6

commit d0a8312752d41b443c08b1224f585f174f3eb2c6
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-11-11 18:20:31 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-11-14 17:04:12 +0000

    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
    
    (cherry picked from commit d5f3e80f5a0b64ccde9ab6856766fc565e795393)
---
 share/man/man4/netgdb.4 | 13 ++++++++-----
 1 file 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