From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26041 invoked by alias); 30 Mar 2009 13:51:37 -0000 Received: (qmail 26024 invoked by uid 22791); 30 Mar 2009 13:51:36 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_39,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; Mon, 30 Mar 2009 13:51:27 +0000 Received: from eusrcmw750.eamcs.ericsson.se (eusrcmw750.exu.ericsson.se [138.85.77.50]) by imr2.ericy.com (8.13.1/8.13.1) with ESMTP id n2UDpA0C017809; Mon, 30 Mar 2009 08:51:12 -0500 Received: from ecamlmw720.eamcs.ericsson.se ([142.133.1.72]) by eusrcmw750.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 30 Mar 2009 08:50:38 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [RFA] Submit process record and replay fourth time, 0/8 Date: Mon, 30 Mar 2009 14:28:00 -0000 Message-ID: <6D19CA8D71C89C43A057926FE0D4ADAA072C016B@ecamlmw720.eamcs.ericsson.se> In-Reply-To: References: From: "Marc Khouzam" To: "Hui Zhu" , "Pedro Alves" , "Michael Snyder" , "Thiago Jung Bauermann" , "Eli Zaretskii" , "Mark Kettenis" Cc: 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-03/txt/msg00667.txt.bz2 Hi Hui, as you know, I am a big fan of your RecordAndReplay enhancements. In fact, I just demoed it at EclipseCon to show how we can do Reverse Debugging in the CDT. People were very very interested! However, I think there are still a few bugs. These bugs may be hard to notice when working from the command line, but when working in Eclipse they can be seen easily. Those bugs are mostly unexpected behavior such as jumping too far backwards. They also happen more easily when using a program that has a bit of complexity. For example, the recursive bug that I found last week. Do you have access to eclipse? We can work together to have you try the reverse debugging that I added to CDT, so that you can work with your patches more intensely and test them even better. I would really like to see your patches in GDB 7.0, so maybe using Eclipse to test it can help move forward. What do you think? Marc > -----Original Message----- > From: Hui Zhu [mailto:teawater@gmail.com]=20 > Sent: Monday, March 30, 2009 1:34 AM > To: Pedro Alves; Marc Khouzam; Michael Snyder; Thiago Jung=20 > Bauermann; Eli Zaretskii; Mark Kettenis > Cc: gdb-patches@sourceware.org > Subject: Re: [RFA] Submit process record and replay fourth time, 0/8 >=20 > Hi guys, >=20 > I am not sure your are reviewing the p record patches or done. >=20 > Do you think all of them are ok to in? :) >=20 >=20 > Thanks, > Hui >=20 >=20 > On Sat, Mar 21, 2009 at 23:58, Hui Zhu wrote: > > Hi guys, > > > > After third time submit, there are a lot of change with=20 > process record > > and replay. =A0So I submit fourth time to make it clear to review. > > > > For this time, Most of changes were updated follow cvs head=20 > and a lot > > of format fixes. =A0Patch for target.c was removed. =A0Record.c was > > updated a lot of parts according to the ideas of Pedro (Much > > appreciated). > > Thanks for help of everybody in the maillist. > > > > Process record and replay make gdb can record inferior=20 > execute log and > > replay (include reverse debug). > > Now, it support I386-Linux single-thread inferior native debug. > > > > I've divided this patch into eight sections, for ease of review. > > They group as: > > 1) Architecture support layer (gdbarch.sh, gdbarch.c, gbarch.h). > > 2) New stratum of strata in target layer (target.h). > > 3) Process record and replay target (record.c, record.h,=20 > Makefile.in). > > 4) Process record and replay for Linux (linux-record.c, > > linux-record.h, Makefile.in, configure.tgt). > > 5) Event handling (infrun.c). > > 6) Intel 386 target-dependent stuff (i386-tdep.c, i386-tdep.h). > > 7) Target-dependent code for GNU/Linux i386 (i386-linux-tdep.c). > > 8) User interface and documentation. > > > > For the NEWS: > > * Process record and replay > > > > =A0In a architecture environment that supports ``process record and > > =A0replay'', ``process record and replay'' target can record a log of > > =A0the process execution, and replay it with both forward and reverse > > =A0execute commands. > > > > These patches be tested with testsuite gdb.twreverse in branch > > reverse-20081226-branch. > > > > Attachment is the compressed patches package to make get=20 > all patches easy. > > > > Thanks, > > Hui > > >=20