Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2022 18:26:24 GMT
From:      Mitchell Horne <mhorne@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: d5f3e80f5a0b - main - netgdb(4): update list of required kernel options
Message-ID:  <202211111826.2ABIQOWF089257@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mhorne:

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

commit d5f3e80f5a0b64ccde9ab6856766fc565e795393
Author:     Mitchell Horne <mhorne@FreeBSD.org>
AuthorDate: 2022-11-11 18:20:31 +0000
Commit:     Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-11-11 18:25:38 +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
---
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211111826.2ABIQOWF089257>