From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16221 invoked by alias); 20 Jun 2010 15:08:54 -0000 Received: (qmail 16207 invoked by uid 22791); 20 Jun 2010 15:08:54 -0000 X-SWARE-Spam-Status: No, hits=0.1 required=5.0 tests=AWL,BAYES_50,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; Sun, 20 Jun 2010 15:08:48 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L4B00J00JEE7100@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Sun, 20 Jun 2010 18:08:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([84.228.178.198]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L4B00FT2JEARZ90@a-mtaout23.012.net.il>; Sun, 20 Jun 2010 18:08:35 +0300 (IDT) Date: Sun, 20 Jun 2010 15:08:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] prec: add a switch for memory doesn't record query In-reply-to: To: Hui Zhu Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83hbkxg2va.fsf@gnu.org> References: <83d3voiyjv.fsf@gnu.org> 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: 2010-06/txt/msg00439.txt.bz2 > From: Hui Zhu > Date: Sun, 20 Jun 2010 14:01:38 +0800 > Cc: gdb-patches@sourceware.org > > Thanks Eli. What about following? > > @kindex set record memory-query > @item set record memory-query > Control the behavior when @value{GDBN} cannot record memory change > of next instruction. If ON, @value{GDBN} will query when it cannot > record memory change of next instruction. > > If this option is OFF(the default), @value{GDBN} will auto ignore this > issue. When @value{GDBN} replay to this execution log, it will mark > this log as not accessible, then it will not affect the replay. A slight rewording: @kindex set record memory-query @item set record memory-query Control the behavior when @value{GDBN} is unable to record memory changes caused by an instruction. If ON, @value{GDBN} will query whether to stop the inferior in that case. If this option is OFF (the default), @value{GDBN} will automatically ignore the effect of such instructions on memory. Later, when @value{GDBN} replays this execution log, it will mark the log of this instruction as not accessible, and it will not affect the replay results.