From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5683 invoked by alias); 6 Jan 2017 18:29:30 -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 5665 invoked by uid 89); 6 Jan 2017 18:29:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=(unknown) X-HELO: simark.ca Received: from simark.ca (HELO simark.ca) (158.69.221.121) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Jan 2017 18:29:28 +0000 Received: by simark.ca (Postfix, from userid 33) id 47E781E809; Fri, 6 Jan 2017 13:29:26 -0500 (EST) To: Luis Machado Subject: Re: [PATCH] Improve load command's help text X-PHP-Originating-Script: 33:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 06 Jan 2017 18:29:00 -0000 From: Simon Marchi Cc: gdb-patches@sourceware.org In-Reply-To: <1483720888-6467-1-git-send-email-lgustavo@codesourcery.com> References: <1483720888-6467-1-git-send-email-lgustavo@codesourcery.com> Message-ID: X-Sender: simon.marchi@polymtl.ca User-Agent: Roundcube Webmail/1.2.3 X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00107.txt.bz2 On 2017-01-06 11:41, Luis Machado wrote: > diff --git a/gdb/symfile.c b/gdb/symfile.c > index 61b9e5b..0af1900 100644 > --- a/gdb/symfile.c > +++ b/gdb/symfile.c > @@ -3952,7 +3952,8 @@ that lies within the boundaries of this symbol > file in memory."), > c = add_cmd ("load", class_files, load_command, _("\ > Dynamically load FILE into the running program, and record its > symbols\n\ > for access from GDB.\n\ > -A load OFFSET may also be given."), &cmdlist); > +A load offset may also be given.\n\ > +Usage: load [FILE] [offset expression]"), &cmdlist); For consistency, I think this would look better: Usage: load [FILE] [OFFSET] The fact that offset can be an expression can be specified in the text just before.