From patchwork Mon Apr 30 14:37:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 27041 Received: (qmail 91137 invoked by alias); 30 Apr 2018 14:37:37 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 91103 invoked by uid 89); 30 Apr 2018 14:37:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=NUMBERS X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (192.185.194.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Apr 2018 14:37:35 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway30.websitewelcome.com (Postfix) with ESMTP id EE357FB0A for ; Mon, 30 Apr 2018 09:37:33 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id D9vpfhJZQ5CKDD9vpfEL0R; Mon, 30 Apr 2018 09:37:33 -0500 X-Authority-Reason: nr=8 Received: from 97-122-176-117.hlrn.qwest.net ([97.122.176.117]:38242 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from ) id 1fD9vp-003hNM-OB; Mon, 30 Apr 2018 09:37:33 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA 02/12] Update help strings in skip.c Date: Mon, 30 Apr 2018 08:37:21 -0600 Message-Id: <20180430143731.30007-3-tom@tromey.com> In-Reply-To: <20180430143731.30007-1-tom@tromey.com> References: <20180430143731.30007-1-tom@tromey.com> X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fD9vp-003hNM-OB X-Source-Sender: 97-122-176-117.hlrn.qwest.net (bapiya.Home) [97.122.176.117]:38242 X-Source-Auth: tom+tromey.com X-Email-Count: 10 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes This changes help strings in skip.c to follow the GNU style. 2018-04-27 Tom Tromey * skip.c (_initialize_step_skip): Update help strings. --- gdb/ChangeLog | 4 ++++ gdb/skip.c | 14 +++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gdb/skip.c b/gdb/skip.c index ad80fa3826..7a6f2e712b 100644 --- a/gdb/skip.c +++ b/gdb/skip.c @@ -610,13 +610,13 @@ _initialize_step_skip (void) Ignore a function while stepping.\n\ \n\ Usage: skip [FUNCTION-NAME]\n\ - skip [] []\n\ + skip [FILE-SPEC] [FUNCTION-SPEC]\n\ If no arguments are given, ignore the current function.\n\ \n\ - is one of:\n\ +FILE-SPEC is one of:\n\ -fi|-file FILE-NAME\n\ -gfi|-gfile GLOB-FILE-PATTERN\n\ - is one of:\n\ +FUNCTION-SPEC is one of:\n\ -fu|-function FUNCTION-NAME\n\ -rfu|-rfunction FUNCTION-NAME-REGULAR-EXPRESSION"), &skiplist, "skip ", 1, &cmdlist); @@ -639,28 +639,28 @@ If no function name is given, skip the current function."), Enable skip entries. You can specify numbers (e.g. \"skip enable 1 3\"), \ ranges (e.g. \"skip enable 4-8\"), or both (e.g. \"skip enable 1 3 4-8\").\n\n\ If you don't specify any numbers or ranges, we'll enable all skip entries.\n\n\ -Usage: skip enable [NUMBERS AND/OR RANGES]"), +Usage: skip enable [NUMBER | RANGE]..."), &skiplist); add_cmd ("disable", class_breakpoint, skip_disable_command, _("\ Disable skip entries. You can specify numbers (e.g. \"skip disable 1 3\"), \ ranges (e.g. \"skip disable 4-8\"), or both (e.g. \"skip disable 1 3 4-8\").\n\n\ If you don't specify any numbers or ranges, we'll disable all skip entries.\n\n\ -Usage: skip disable [NUMBERS AND/OR RANGES]"), +Usage: skip disable [NUMBER | RANGE]..."), &skiplist); add_cmd ("delete", class_breakpoint, skip_delete_command, _("\ Delete skip entries. You can specify numbers (e.g. \"skip delete 1 3\"), \ ranges (e.g. \"skip delete 4-8\"), or both (e.g. \"skip delete 1 3 4-8\").\n\n\ If you don't specify any numbers or ranges, we'll delete all skip entries.\n\n\ -Usage: skip delete [NUMBERS AND/OR RANGES]"), +Usage: skip delete [NUMBER | RANGES]..."), &skiplist); add_info ("skip", info_skip_command, _("\ Display the status of skips. You can specify numbers (e.g. \"skip info 1 3\"), \ ranges (e.g. \"skip info 4-8\"), or both (e.g. \"skip info 1 3 4-8\").\n\n\ If you don't specify any numbers or ranges, we'll show all skips.\n\n\ -Usage: skip info [NUMBERS AND/OR RANGES]\n\ +Usage: skip info [NUMBER | RANGES]...\n\ The \"Type\" column indicates one of:\n\ \tfile - ignored file\n\ \tfunction - ignored function"));