From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6502 invoked by alias); 20 Sep 2013 08:21:16 -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 6488 invoked by uid 89); 20 Sep 2013 08:21:15 -0000 Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Sep 2013 08:21:15 +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: mtaout23.012.net.il Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MTF00L000I74U00@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Fri, 20 Sep 2013 11:21:12 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MTF00K7N0JCYVB0@a-mtaout23.012.net.il>; Fri, 20 Sep 2013 11:21:12 +0300 (IDT) Date: Fri, 20 Sep 2013 08:21:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 5/7] DOC and NEWS In-reply-to: <1379645226-8719-6-git-send-email-yao@codesourcery.com> To: Yao Qi Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83eh8jlx8j.fsf@gnu.org> References: <1378641807-24256-1-git-send-email-yao@codesourcery.com> <1379645226-8719-1-git-send-email-yao@codesourcery.com> <1379645226-8719-6-git-send-email-yao@codesourcery.com> X-IsSubscribed: yes X-SW-Source: 2013-09/txt/msg00729.txt.bz2 > From: Yao Qi > Date: Fri, 20 Sep 2013 10:47:04 +0800 > > > -V3: Mention "in remote debugging". > > gdb: > > 2013-09-20 Yao Qi > > * NEWS: Describe the default option of > "trust-readonly-sections" becomes "auto" and the related > changes. > > gdb/doc: > > 2013-09-20 Yao Qi > > * gdb.texinfo (File): Mention that user has > 'set trust-readonly-sections off' to get updated contents if > they are modified. Explain the default option of > "trust-readonly-sections" is "auto". This is OK, but should we perhaps mention that an attempt to write to a read-only section will cause the prompt to turn this option off? I would mention that prompt as part of this text: > @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 you > +modified the code in the target program, you have to > +@code{set trust-readonly-sections off} to guarantee @value{GDBN} reads > +updated contents from the target program instead of object file. Thanks.