From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15701 invoked by alias); 20 Jan 2009 18:32:39 -0000 Received: (qmail 15690 invoked by uid 22791); 20 Jan 2009 18:32:38 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr2.ericy.com (HELO imr2.ericy.com) (198.24.6.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 20 Jan 2009 18:32:27 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id n0KIWIpP021475; Tue, 20 Jan 2009 12:32:24 -0600 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Tue, 20 Jan 2009 12:32:01 -0600 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [RFA] Submit process record and replay third time, 3/9 Date: Tue, 20 Jan 2009 18:32:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA06CB06F6@ecamlmw720.eamcs.ericsson.se> In-Reply-To: References: From: "Marc Khouzam" To: "teawater" , 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-01/txt/msg00428.txt.bz2 Hi, again, thanks for the great work on Process Record and Replay. I almost have the Eclipse DSF-GDB frontent for it. However I ran into a small issue where a frontend is unable to turn off Record. I'm not sure if there should be an MI command corresponding to the 'record' command, but if I have to use 'record' directly to turn *off* reverse debugging, I get a prompt "Process record target already running, do you want to delete the old record log?(y or [n])" The prompt is not the problem. The problem is that the default is 'no'. I think that when running in a frontend (at least in eclipse), the default choice automatically gets selected. Therefore, the frontend cannot turn off recording. Could we make the default to be 'yes'? I get the feeling there is a better way to handle this... I just don't know how. Thanks Marc > -----Original Message----- > From: gdb-patches-owner@sourceware.org=20 > [mailto:gdb-patches-owner@sourceware.org] On Behalf Of teawater > Sent: Monday, January 12, 2009 10:06 PM > To: gdb-patches@sourceware.org > Subject: Re: [RFA] Submit process record and replay third time, 3/9 >=20 > Update follow the cvs-head. >=20 > On Thu, Jan 8, 2009 at 13:46, teawater wrote: > > > > This patch add the process record and replay target. This=20 > is the core > > part of process record and replay. > > > > 2009-01-08 Hui Zhu > > > > Process record and replay target. > > > > * Makefile.in (record.c): New file. > > * record.c, record.h: New file. > > > > 2008-12-28 Michael Snyder > > * Comments, spelling, white space clean-ups. > > > > 2008-12-26 Michael Snyder > > * record.h: Don't export record_not_record. > > * record.c (record_not_record): Rename to in_record_wait. > > (record_not_record_set): Rename to in_record_wait_set. > > (record_not_record_cleanup): Rename to=20 > in_record_wait_cleanup. > > (record_store_registers): Check in_record_wait flag. > > (record_xfer_partial): Ditto. > > > > 2008-10-07 Michael Snyder > > * record.h (record_exec_direction): Delete. > > (RECORD_IS_REPLAY): Consult infrun global direction variable. > > * record.c: (record_wait_cleanups): Use infrun state=20 > variable. > > (record_wait): Ditto. > > (record_get_exec_direction,=20 > record_set_exec_direction): Remove. > > (record_can_execute_reverse): New target method. > > > > 2008-10-06 Michael Snyder > > * record.c (displaced_step_fixup): Remove. > > (record_message_cleanups): Remove displaced step handling. > > (record_message): Remove displaced step handling. > > > > 2008-10-06 Michael Snyder > > * record.c (record_regcache_raw_write_regnum): Remove. > > > > 2008-10-05 Michael Snyder > > * record.c, record.h: Rename execdir to exec_direction. > > > > 2008-10-02 Michael Snyder > > * record.c (record_open): Call target_can_async_p() instead > > of relying on a global variable. > > * record.h (record_linux_async_permitted): Delete. > > > > 2008-09-19 Michael Snyder > > * record.c (trivial): Fix two commas in a comment. > > * record.c (record_wait): On end of record log, return > > TARGET_WAITKIND_NO_HISTORY and let infrun decide what to do. > > > > 2008-09-06 Michael Snyder > > * record.c: Comment and message string cleanup. > > Add some function header comments. > > > > 2008-08-01 Michael Snyder > > * record.c (_initialize_record): Clarify language in help > > strings. > > Fix up comment format (period must be followed by=20 > two spaces). >=20