From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3647 invoked by alias); 19 Oct 2009 12:36:58 -0000 Received: (qmail 3637 invoked by uid 22791); 19 Oct 2009 12:36:57 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from imr1.ericy.com (HELO imr1.ericy.com) (198.24.6.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 19 Oct 2009 12:36:52 +0000 Received: from eusrcmw751.eamcs.ericsson.se (eusrcmw751.exu.ericsson.se [138.85.77.51]) by imr1.ericy.com (8.13.1/8.13.1) with ESMTP id n9JCamZi007516; Mon, 19 Oct 2009 07:36:50 -0500 Received: from eusrcmw751.eamcs.ericsson.se ([138.85.77.56]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 Oct 2009 07:36:44 -0500 Received: from eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) by eusrcmw751.eamcs.ericsson.se with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 Oct 2009 07:36:44 -0500 Received: from EUSAACMS0703.eamcs.ericsson.se ([169.254.1.110]) by eusaamw0712.eamcs.ericsson.se ([147.117.20.181]) with mapi; Mon, 19 Oct 2009 08:36:43 -0400 From: Marc Khouzam To: "'Michael Snyder'" , "'gdb@sourceware.org'" Date: Mon, 19 Oct 2009 12:57:00 -0000 Subject: RE: [FYI] tutorial for process record and reverse debugging Message-ID: References: <4ADA4BD8.6080800@vmware.com> In-Reply-To: <4ADA4BD8.6080800@vmware.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 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/msg00299.txt.bz2 > -----Original Message----- > From: gdb-owner@sourceware.org=20 > [mailto:gdb-owner@sourceware.org] On Behalf Of Michael Snyder > Sent: Saturday, October 17, 2009 6:57 PM > To: gdb@sourceware.org > Subject: [FYI] tutorial for process record and reverse debugging >=20 > FYI, there is now a tutorial for process record/replay and reverse=20 > debugging on the gdb wiki: >=20 > http://sourceware.org/gdb/wiki/ProcessRecord/Tutorial Very clearly written. It should be very useful. I even learned that the following was a wanted behavior: "We can go directly to the point at which the recording currently ends, by = disabling=20 all our breakpoints and then telling gdb to continue. Process record will r= eplay=20 until it reaches the current end of the recording, and then stop." To be honest, I never cared much for this behavior because from an Eclipse= =20 user-experience, it is not very clear why the execution/replay suddenly sto= ps in=20 this case. But from reading the tutorial I see that it may be of interest in some situ= ations. What bothers me though is that one must disable all breakpoints and then re= -enable=20 them. This can be a bit of an annoyance, especially if some bps were alrea= dy disabled. I got to wonder if this doesn't call for a new command; something like "record live", which would take us to the end of the recording while not ne= eding the user to deal with existing breakpoints. What do you think? Marc