From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3941 invoked by alias); 12 Jun 2008 19:07:54 -0000 Received: (qmail 3930 invoked by uid 22791); 12 Jun 2008 19:07:53 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 12 Jun 2008 19:07:33 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id A590098402; Thu, 12 Jun 2008 19:07:31 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 725859805C; Thu, 12 Jun 2008 19:07:31 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1K6s8w-0000iy-4f; Thu, 12 Jun 2008 15:07:30 -0400 Date: Thu, 12 Jun 2008 19:07:00 -0000 From: Daniel Jacobowitz To: Marc Khouzam Cc: Michael Snyder , gdb@sourceware.org Subject: Re: Who uses gdbreplay? Message-ID: <20080612190730.GA2621@caradoc.them.org> Mail-Followup-To: Marc Khouzam , Michael Snyder , gdb@sourceware.org References: <1213295731.3601.671.camel@localhost.localdomain> <6D19CA8D71C89C43A057926FE0D4ADAA042911BE@ecamlmw720.eamcs.ericsson.se> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA042911BE@ecamlmw720.eamcs.ericsson.se> User-Agent: Mutt/1.5.17 (2008-05-11) 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/msg00115.txt.bz2 On Thu, Jun 12, 2008 at 02:54:58PM -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? Does it allow reverse debugging in some form? > And since this is part of gdbserver, I assume its functions are for a target system? > > 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? No. gdbreplay allows you to rerun a remote protocol conversation from a log. This only works if you issue exactly the same commands to GDB; it is a very simple program, and only knows "what packet do I expect next" and "what reply should I send to the expected packet". It's basically a debugging aid for the remote protocol. -- Daniel Jacobowitz CodeSourcery