From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7418 invoked by alias); 12 Jun 2008 19:12:21 -0000 Received: (qmail 7410 invoked by uid 22791); 12 Jun 2008 19:12:20 -0000 X-Spam-Check-By: sourceware.org Received: from bluesmobile.specifix.com (HELO bluesmobile.specifix.com) (216.129.118.140) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Jun 2008 19:12:03 +0000 Received: from [127.0.0.1] (bluesmobile.specifix.com [216.129.118.140]) by bluesmobile.specifix.com (Postfix) with ESMTP id C426E3C328; Thu, 12 Jun 2008 12:12:01 -0700 (PDT) Subject: RE: Who uses gdbreplay? From: Michael Snyder To: Marc Khouzam Cc: gdb@sourceware.org In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA042911BE@ecamlmw720.eamcs.ericsson.se> References: <6D19CA8D71C89C43A057926FE0D4ADAA042911BE@ecamlmw720.eamcs.ericsson.se> Content-Type: text/plain Date: Thu, 12 Jun 2008 19:12:00 -0000 Message-Id: <1213297921.3601.676.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-7.fc7) Content-Transfer-Encoding: 7bit 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: 2008-06/txt/msg00117.txt.bz2 On Thu, 2008-06-12 at 14:54 -0400, Marc Khouzam wrote: > Hi, > > I've tried to find information in the doc about gdbreplay without luck. > Really quickly, does gdbreplay, as its name suggest, allow to record an > re-run an application session? Yes, exactly -- but with rather stringent limits. In a nutshell, during the replay session, you must give EXACTLY the same sequence of gdb commands as were given during the record session. gdbreplay will prompt you for the next command, but if you do *anything* different, it will throw up its hands and quit. > Does it allow reverse debugging in some form? Not yet -- but that's part of what I have in mind! ;-) > And since this is part of gdbserver, I assume its functions are for a target system? Yes -- but you can run gdbserver on a native system, i.e. "target system" has a rather broad meaning in this context. > This very morning, I was asked if GDB had any kind of foundation for reverse > debugging on a target. Is gdbreplay what I am looking for? Not yet... ;-)