From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10680 invoked by alias); 6 Sep 2013 05:56:13 -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 10664 invoked by uid 89); 6 Sep 2013 05:56:12 -0000 Received: from mtaout22.012.net.il (HELO mtaout22.012.net.il) (80.179.55.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Sep 2013 05:56:12 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,KHOP_THREADED autolearn=ham version=3.3.2 X-HELO: mtaout22.012.net.il Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MSO00900WGXKC00@a-mtaout22.012.net.il> for gdb-patches@sourceware.org; Fri, 06 Sep 2013 08:56:09 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MSO009MIWHKGR20@a-mtaout22.012.net.il>; Fri, 06 Sep 2013 08:56:08 +0300 (IDT) Date: Fri, 06 Sep 2013 05:56:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 1/3] set trust-readonly-sections off in test cases In-reply-to: <1378432920-7731-2-git-send-email-yao@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83vc2emr2o.fsf@gnu.org> References: <1378432920-7731-1-git-send-email-yao@codesourcery.com> <1378432920-7731-2-git-send-email-yao@codesourcery.com> X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00198.txt.bz2 > From: Yao Qi > Date: Fri, 6 Sep 2013 10:01:58 +0800 > > 2013-09-06 Yao Qi > > * gdb.texinfo (File): Mention that user has > 'set trust-readonly-sections off' to get updated contents if > they are modified. Thanks. > @item set trust-readonly-sections off > Tell @value{GDBN} not to trust readonly sections. This means that > the contents of the section might change while the program is running, > -and must therefore be fetched from the target when needed. > +and must therefore be fetched from the target when needed. If user > +modified the code in the target program, user has to > +@code{set trust-readonly-sections off} to guarantee @value{GDBN} reads > +updated contents from the target program instead of object file. Please don't talk about the user in the "third-person" style. Please use "you" instead. Also, if this patch series turns the flag on, we should change the sentence above this text that says default is off, and announce that in NEWS.