From nobody Fri Nov 11 18:26:24 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N86bh3THTz4dZ4c; Fri, 11 Nov 2022 18:26:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N86bh2zXSz3qgH; Fri, 11 Nov 2022 18:26:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668191184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iWZm++g7p9gNqpHqzIernjmwOAvFYPJW3BK/a6iHOk4=; b=SpsCONDLtCZHzAozKYwwcnTc4c9gjq8QITyefWEVEUyyDFG5x44UE/dGPeTkMkVPHb0FHS eBZ92/W0DpRD7AMf26znz/j5PJ7NBvaKg25EwIhpuFPdRs3IY6ETFzSWRlYKK8pHE/G4cE lLxkajDh0OAIWPU6gjpIcjMQ259WMS2oGJle3oE3AS4dggQVyGDvZER0iliYT2dXDHpIaY GMAXRGpjnBL+tLSfb6GHiFsoTa3hGevfXKr504Ik1M5cyZT3EC8ovFs84eCFws57ecrlZv /Db5hotTKK8pZcpMeWZChe0CPVSmeG4EFaeC8bUHhOhgM6TwGGTJVLVOeSz59Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668191184; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=iWZm++g7p9gNqpHqzIernjmwOAvFYPJW3BK/a6iHOk4=; b=FR6Fst8EkMq5DX/h9SaHze//TjeKzjsve2SayLBm57wik7dcml0abD4UfuLxP3d33K1LEQ dYly8dPgNoWmieI16cVs651TIaSsI9v5lENhV47SUBdkxDJ0VWqUSuwYRR+LzJQ9DdwDZY QE0CIh4DtiFtP20xmHpl23alfa4VoTIXtUUgvtcl+JllnbhNgers2l0GZc+zbZNLnZN4Et G99OV/qQaxP9Y+F/Mi2+scov3dudWYzB8bR4HiTsVW++dhJN7gNny2YOlpXAo7E5y/ZY1V ULRQQsaO5rNwg+aHmP3No7NBZIBfFV6o7kLxHszVgT+hSxRSlFnq+mvHDd/JiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668191184; a=rsa-sha256; cv=none; b=jzxdE+EAe88JVvBi6ab6KMGO8YEFDYZi3oGlKYcd1O935dih3wkyvId9q17K0vPaPAtatH iNP1E5/7UFPzotdJu6HfRiZBDhAJ8XqLTSK9JTxngjXjKk7Mj0l/LG6BCt/ydreAc43ixb YMawS5LSs5qvhoFNcS/WqPUWdSJq5RjrWmMTBexKfPa1W7RVu5B46dS+KwV1bDTi5lZkMM vjyLWB4YRKzWhqenOxntUB8J4Rdq2K0Njk4vVyyD29cEAOzBXw8Vw4WzrgszyvNStpNe9x qKAMd5TG5e9h6X/r/dW6VUPnin9Z6QHoZROlQtkTiRd/nvKK498FDkwvnpRd8w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N86bh22DgzspQ; Fri, 11 Nov 2022 18:26:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2ABIQO5K089258; Fri, 11 Nov 2022 18:26:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ABIQOWF089257; Fri, 11 Nov 2022 18:26:24 GMT (envelope-from git) Date: Fri, 11 Nov 2022 18:26:24 GMT Message-Id: <202211111826.2ABIQOWF089257@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: d5f3e80f5a0b - main - netgdb(4): update list of required kernel options List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d5f3e80f5a0b64ccde9ab6856766fc565e795393 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=d5f3e80f5a0b64ccde9ab6856766fc565e795393 commit d5f3e80f5a0b64ccde9ab6856766fc565e795393 Author: Mitchell Horne AuthorDate: 2022-11-11 18:20:31 +0000 Commit: Mitchell Horne 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