From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20926 invoked by alias); 6 Jun 2013 16:17:55 -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 20915 invoked by uid 89); 6 Jun 2013 16:17:54 -0000 X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,SPF_SOFTFAIL autolearn=no version=3.3.1 Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 06 Jun 2013 16:17:25 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MNZ00500BV68V00@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Thu, 06 Jun 2013 19:17:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNZ005MCBWW5N20@a-mtaout20.012.net.il>; Thu, 06 Jun 2013 19:17:21 +0300 (IDT) Date: Thu, 06 Jun 2013 16:17:00 -0000 From: Eli Zaretskii Subject: Re: [patch v6 3/3] Documentation for the remove-symbol-file command. In-reply-to: <51B0AF88.7090909@codesourcery.com> To: lgustavo@codesourcery.com Cc: nicolas.blanc@intel.com, gdb-patches@sourceware.org, palves@redhat.com, tromey@redhat.com, yao@codesourcery.com, dje@google.com Reply-to: Eli Zaretskii Message-id: <83r4gfusbv.fsf@gnu.org> References: <1370459252-24643-1-git-send-email-nicolas.blanc@intel.com> <1370459252-24643-4-git-send-email-nicolas.blanc@intel.com> <51B0AF88.7090909@codesourcery.com> X-SW-Source: 2013-06/txt/msg00125.txt.bz2 > Date: Thu, 06 Jun 2013 17:49:28 +0200 > From: Luis Machado > CC: gdb-patches@sourceware.org, palves@redhat.com, tromey@redhat.com, > eliz@gnu.org, yao@codesourcery.com, dje@google.com > > > +remove-symbol-file FILENAME > > +remove-symbol-file -a ADDRESS > > + Remove a symbol file added via add-symbol-file. The file to remove > > + can be identified by its filename or by an address pointing inside > > + one of its sections. > > + > > I'd rewrite this one to read a little better. Eli may have a better > suggestion. > > Something like this? > > Remove a symbol file added via add-symbol-file. The symbol file to > remove can be identified by its filename or by an address that lies > within the boundaries of this symbol file in memory. These two variants seem to have different semantics. > > +@kindex remove-symbol-file > > +@item remove-symbol-file @var{filename} > > +@item remove-symbol-file -a @var{address} > > +Remove a symbol file added via the @code{add-symbol-file} command. The > > +file to remove can be identified by its filename or by an address pointing > > +inside one of its sections. Example: > > Same as above? "filename" and "address" should be in @var.