From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25125 invoked by alias); 13 Oct 2009 06:19:03 -0000 Received: (qmail 25117 invoked by uid 22791); 13 Oct 2009 06:19:03 -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 mail-px0-f202.google.com (HELO mail-px0-f202.google.com) (209.85.216.202) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Oct 2009 06:18:58 +0000 Received: by pxi40 with SMTP id 40so10440446pxi.24 for ; Mon, 12 Oct 2009 23:18:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.143.27.40 with SMTP id e40mr556896wfj.230.1255414737071; Mon, 12 Oct 2009 23:18:57 -0700 (PDT) In-Reply-To: <4AD35518.9040606@vmware.com> References: <4AD35518.9040606@vmware.com> From: Hui Zhu Date: Tue, 13 Oct 2009 06:19:00 -0000 Message-ID: Subject: Re: [discuss] Process record -- save and restore to a file To: Michael Snyder Cc: gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00231.txt.bz2 > record save I think it is not bad. > record restore I suggest we can make the core load and record together. Because record log is together with core. Thanks, Hui On Tue, Oct 13, 2009 at 00:11, Michael Snyder wrote: > OK, we set this discussion aside over a month ago, until after 7.0. > Time to revive it? =A0Seemed like the implementation discussion had > more or less stabilized, and we were mostly still discussing the > user interface and docs -- so let's start there. > > > In the last cycle, we had come down to a UI that looked like this: > > Save recording: > =A0(gdb) record dump > > Restore recording: > =A0(gdb) core > =A0(gdb) record > > > I would like to remark that the "restore" UI is logical but not > intuitive. =A0I think it would be helpful to have a single command eg: > > =A0(gdb) record load > > which would do the same as the "core" and "record" commands. > > Secondly, I have a suggestion about the command names. > How about > =A0record save > =A0record restore > instead of > =A0record dump > =A0record load > > What do you guys think? > >