From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15249 invoked by alias); 18 Apr 2012 18:54:16 -0000 Received: (qmail 15240 invoked by uid 22791); 18 Apr 2012 18:54:15 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL X-Spam-Check-By: sourceware.org Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 18 Apr 2012 18:53:43 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M2O00J00V1WDH00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Wed, 18 Apr 2012 21:53:23 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.105.225]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2O00JBMV4W92D0@a-mtaout23.012.net.il>; Wed, 18 Apr 2012 21:53:21 +0300 (IDT) Date: Wed, 18 Apr 2012 18:56:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH v2] Add autoload-breakpoints [6/6] autoload-breakpoints doc In-reply-to: <4F8E9D3A.5000809@mentor.com> To: Hui Zhu Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <834nsgkh28.fsf@gnu.org> References: <4F8562EE.6080306@mentor.com> <4F8E9D3A.5000809@mentor.com> X-IsSubscribed: yes 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 X-SW-Source: 2012-04/txt/msg00600.txt.bz2 > Date: Wed, 18 Apr 2012 18:53:46 +0800 > From: Hui Zhu > > +about autoload-breakpints from the stub. ^^^^^^^^^^ A typo. > +enable or disable it. @value{GDBN} will create this breakpoint as > +it have been created in the target. So when the target create the > +breakpoint, it need insert this breakpoint with itself. ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ "creates", "needs to insert", and "by itself". > +@item @var{id}@samp{:}@samp{R} > +This is the remove packet. > +@var{id} is the number of the autoload-breakpoint that this command > +wants to remove, encoded as a hex string. > +@value{GDBN} will remove this breakpoint as it have been removed in > +the target. I don't understand the last sentence. Please explain. > So when the target remove the breakpoint, it need remove > +this breakpoint with itself. ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ "removes", "needs to remove", and "by itself". By the way, what non-trivial information does this sentence convey? It seems to say "when the target removes the breakpoint, it needs to remove the breakpoint", which is trivial. What am I missing here? > +0 means all autoload-breakpoints. This sentence should be moved right after the sentence that starts with "@var{id} is the number of the autoload-breakpoint". Thanks.