Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@specifix.com>
To: Marc Khouzam <marc.khouzam@ericsson.com>
Cc: gdb@sourceware.org
Subject: RE: Who uses gdbreplay?
Date: Thu, 12 Jun 2008 19:12:00 -0000	[thread overview]
Message-ID: <1213297921.3601.676.camel@localhost.localdomain> (raw)
In-Reply-To: <6D19CA8D71C89C43A057926FE0D4ADAA042911BE@ecamlmw720.eamcs.ericsson.se>

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...   ;-)



  parent reply	other threads:[~2008-06-12 19:12 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-12 18:35 Michael Snyder
2008-06-12 18:55 ` Marc Khouzam
2008-06-12 19:07   ` Daniel Jacobowitz
2008-06-12 19:12   ` Michael Snyder [this message]
2008-06-12 19:19     ` Daniel Jacobowitz
2008-06-12 19:39       ` Michael Snyder
2008-06-12 19:47         ` Daniel Jacobowitz
2008-06-12 19:57           ` Michael Snyder
2008-06-12 20:06             ` Daniel Jacobowitz
2008-06-12 20:15               ` Michael Snyder
2008-06-12 20:24                 ` Daniel Jacobowitz
2008-06-12 20:56                   ` Michael Snyder
2008-06-12 19:28     ` Marc Khouzam
2008-06-12 19:44       ` Michael Snyder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1213297921.3601.676.camel@localhost.localdomain \
    --to=msnyder@specifix.com \
    --cc=gdb@sourceware.org \
    --cc=marc.khouzam@ericsson.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox