From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12787 invoked by alias); 7 Aug 2009 16:07:15 -0000 Received: (qmail 12775 invoked by uid 22791); 7 Aug 2009 16:07:13 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.174) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 07 Aug 2009 16:07:07 +0000 Received: by wf-out-1314.google.com with SMTP id 23so671807wfg.24 for ; Fri, 07 Aug 2009 09:07:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.147.20 with SMTP id u20mr288840wfd.277.1249661225110; Fri, 07 Aug 2009 09:07:05 -0700 (PDT) In-Reply-To: <83prb8lzmc.fsf@gnu.org> References: <83ab2docqi.fsf@gnu.org> <4A7B99B3.40407@vmware.com> <4A7B9F49.9030202@vmware.com> <83ws5gm30b.fsf@gnu.org> <83prb8lzmc.fsf@gnu.org> From: Hui Zhu Date: Fri, 07 Aug 2009 16:22:00 -0000 Message-ID: Subject: Re: [RFA/RFC] Add dump and load command to process record and replay To: Eli Zaretskii Cc: msnyder@vmware.com, gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: 2009-08/txt/msg00111.txt.bz2 On Fri, Aug 7, 2009 at 17:52, Eli Zaretskii wrote: >> From: Hui Zhu >> Date: Fri, 7 Aug 2009 17:21:57 +0800 >> Cc: msnyder@vmware.com, gdb-patches@sourceware.org >> >> On Fri, Aug 7, 2009 at 16:39, Eli Zaretskii wrote: >> >> From: Hui Zhu >> >> Date: Fri, 7 Aug 2009 11:34:20 +0800 >> >> Cc: Eli Zaretskii , "gdb-patches@sourceware.org" >> >> >> >> I think a warning is clear to most of people. >> >> >> >> And when he get this warning. =A0He can delete the record list and lo= ad >> >> again. =A0He will lost nothing. >> >> >> >> If we delete the old record list, maybe he still need old record. =A0= He >> >> will lost something. >> > >> > Instead of a warning, how about asking the user whether to discard the >> > old records or keep them? >> > >> >> Agree. =A0What about a query? > > Sorry, I'm not sure I understand the question. =A0If you are asking how > to word the question we ask the user, here's my proposal: > > =A0Keep the existing execution log? (yes or no) > > I think the default should be NO, so that this does TRT when invoked > non-interactively. =A0If you agree, you need to use `nquery' for this > question. > Looks like user interface's people don't like yquery and nquery, maybe we can use query directly. Thanks, Hui