From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 117915 invoked by alias); 5 Jun 2018 16:40:24 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 117110 invoked by uid 89); 5 Jun 2018 16:40:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 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=Usage X-HELO: gateway20.websitewelcome.com Received: from gateway20.websitewelcome.com (HELO gateway20.websitewelcome.com) (192.185.4.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 05 Jun 2018 16:40:22 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 893D2400DF533 for ; Tue, 5 Jun 2018 11:40:21 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id QF0Pf4pSXkBj6QF0PfYYZz; Tue, 05 Jun 2018 11:40:21 -0500 X-Authority-Reason: nr=8 Received: from 75-166-37-59.hlrn.qwest.net ([75.166.37.59]:38170 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fQF0P-003yqD-99; Tue, 05 Jun 2018 11:40:21 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA] Update "func" help text to GNU standards Date: Tue, 05 Jun 2018 16:40:00 -0000 Message-Id: <20180605164017.28711-1-tom@tromey.com> X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fQF0P-003yqD-99 X-Source-Sender: 75-166-37-59.hlrn.qwest.net (bapiya.Home) [75.166.37.59]:38170 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-06/txt/msg00103.txt.bz2 In my earlier series to change help text to follow the GNU standards for metasyntactic variables, I missed one: the "func" command. This patch updates its help text. Tested by the buildbot. gdb/ChangeLog 2018-06-05 Tom Tromey * stack.c (_initialize_stack): Update "func" help text. --- gdb/ChangeLog | 4 ++++ gdb/stack.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/stack.c b/gdb/stack.c index 97ebc8bc23f..caa71c1bd4e 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -2556,8 +2556,8 @@ on this backtrace.")); if (dbx_commands) add_com ("func", class_stack, func_command, _("\ -Select the stack frame that contains .\n\ -Usage: func ")); +Select the stack frame that contains NAME.\n\ +Usage: func NAME")); add_setshow_enum_cmd ("frame-arguments", class_stack, print_frame_arguments_choices, &print_frame_arguments, -- 2.13.6