From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91279 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-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 91108 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,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=sk:generat X-HELO: gateway33.websitewelcome.com Received: from gateway33.websitewelcome.com (HELO gateway33.websitewelcome.com) (192.185.146.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Apr 2018 14:37:35 +0000 Received: from cm13.websitewelcome.com (cm13.websitewelcome.com [100.42.49.6]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 4C1939EC25 for ; Mon, 30 Apr 2018 09:37:34 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id D9vqfqSX0QUwqD9vqfaSbF; Mon, 30 Apr 2018 09:37:34 -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 1fD9vq-003hNM-2q; Mon, 30 Apr 2018 09:37:34 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [RFA 03/12] Update core-related help strings Date: Mon, 30 Apr 2018 14:37:00 -0000 Message-Id: <20180430143731.30007-4-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: 1fD9vq-003hNM-2q 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: 11 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-04/txt/msg00637.txt.bz2 This updates some help strings in corefile.c and gcore.c. 2018-04-27 Tom Tromey * corefile.c (_initialize_core): Update help string. * gcore.c (_initialize_gcore): Update help string. --- gdb/ChangeLog | 5 +++++ gdb/corefile.c | 1 + gdb/gcore.c | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/corefile.c b/gdb/corefile.c index 5a735264ef..d8f30cf804 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -509,6 +509,7 @@ _initialize_core (void) c = add_cmd ("core-file", class_files, core_file_command, _("\ Use FILE as core dump for examining memory and registers.\n\ +Usage: core-file FILE\n\ No arg means have no core file. This command has been superseded by the\n\ `target core' and `detach' commands."), &cmdlist); set_cmd_completer (c, filename_completer); diff --git a/gdb/gcore.c b/gdb/gcore.c index 5ff4e6dc77..c53810049c 100644 --- a/gdb/gcore.c +++ b/gdb/gcore.c @@ -611,7 +611,8 @@ _initialize_gcore (void) { add_com ("generate-core-file", class_files, gcore_command, _("\ Save a core file with the current state of the debugged process.\n\ -Argument is optional filename. Default filename is 'core.'.")); +Usage: generate-core-file [FILENAME]\n\ +Argument is optional filename. Default filename is 'core.PROCESS_ID'.")); add_com_alias ("gcore", "generate-core-file", class_files, 1); } -- 2.13.6