From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1256) id 73A1A3858D28; Wed, 18 Jan 2023 23:24:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 73A1A3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1674084246; bh=PNgB0VoBfLidtKiJ1nixbWkEbvgbmg6VVPm8K5nkC+0=; h=From:To:Subject:Date:From; b=yiqWk8uZiD6Zp1ovPtsasmT8XkbB8+aJz7ffKn7EpU0ychs9mnSVncPXQ8Pnzo2nk KowgM8aig6EaNeq/Ioo05qEfjY1YVbYY9SgAaWvB0t4bA5CCNQEFrXDGI6Dt7Yj1UH LRdWNvwkk2x37Yvc262nZQnt6SdzBURR4Avdx8N0= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Maciej W. Rozycki To: gdb-cvs@sourceware.org Subject: [binutils-gdb] GDB: Correct inline documentation for `add_setshow_cmd_full_erased' X-Act-Checkin: binutils-gdb X-Git-Author: Maciej W. Rozycki X-Git-Refname: refs/heads/master X-Git-Oldrev: a58c879377f4a381c275aa7a5e208802331f4c95 X-Git-Newrev: 3cfe8022bd570e2208da8e12f2274c3b13aeb0f1 Message-Id: <20230118232406.73A1A3858D28@sourceware.org> Date: Wed, 18 Jan 2023 23:24:06 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D3cfe8022bd57= 0e2208da8e12f2274c3b13aeb0f1 commit 3cfe8022bd570e2208da8e12f2274c3b13aeb0f1 Author: Maciej W. Rozycki Date: Wed Jan 18 23:23:00 2023 +0000 GDB: Correct inline documentation for `add_setshow_cmd_full_erased' =20 Use proper English in the description of SET_LIST and SHOW_LIST. Diff: --- gdb/cli/cli-decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c index 359ed48b748..c8a3b2e0ecf 100644 --- a/gdb/cli/cli-decode.c +++ b/gdb/cli/cli-decode.c @@ -524,7 +524,7 @@ add_set_or_show_cmd (const char *name, return c; } =20 -/* Add element named NAME to both the command SET_LIST and SHOW_LIST. +/* Add element named NAME to both command lists SET_LIST and SHOW_LIST. THECLASS is as in add_cmd. VAR_TYPE is the kind of thing we are setting. VAR is address of the variable being controlled by this command. If nullptr is given as VAR, then both SET_SETTING_FUNC and