This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Who uses gdbreplay?


On Thu, 2008-06-12 at 15:18 -0400, Daniel Jacobowitz wrote:
> On Thu, Jun 12, 2008 at 12:12:01PM -0700, Michael Snyder wrote:
> > > 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...   ;-)
> 
> So... what will the resulting program have in relation to the existing
> gdbreplay?  It sounds like not much at all.

Well I don't want to promise too much too early, but
what I have in mind will be VERY different from the
current gdbreplay.

Rather than requiring you to give exactly the same sequence
of gdb commands as during the recording, it will allow you to
"step" forward (and eventually backward) thru the log, and pause
to examine arbitrary state and issue arbitrary commands at any
point along the way.  Of course, you can only examine state that
was saved during the recording session.

In that sense, it will somewhat resemble tracepoint debugging.

In fact, I may be able to allow the "tfind" tracepoint commands
to work, which would allow you to "skip ahead" (or backward)
to an arbitrary point in the log.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]