List Info

Thread: Who uses gdbreplay?




Who uses gdbreplay?
country flaguser name
United States
2008-06-12 13:35:31
I am interested in knowing if (and how much) 
anybody uses the gdbreplay utility that comes
as a part of gdbserver.

It's an interesting (and elegantly simple) utility, 
but somewhat limited, and I have some ideas for
improving it.  Not much use, though, if nobody
ever uses it!

Thanks,
Michael




RE: Who uses gdbreplay?
country flaguser name
Canada
2008-06-12 13:54:58
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?

Thanks

Marc

> -----Original Message-----
> From: gdb-ownersourceware.org [mailto:gdb-ownersourceware.org]On
> Behalf Of Michael Snyder
> Sent: Thursday, June 12, 2008 2:36 PM
> To: gdbsourceware.org
> Subject: Who uses gdbreplay?
> 
> 
> I am interested in knowing if (and how much) 
> anybody uses the gdbreplay utility that comes
> as a part of gdbserver.
> 
> It's an interesting (and elegantly simple) utility, 
> but somewhat limited, and I have some ideas for
> improving it.  Not much use, though, if nobody
> ever uses it!
> 
> Thanks,
> Michael
> 
> 
> 
> 

Re: Who uses gdbreplay?
country flaguser name
United States
2008-06-12 14:07:30
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

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )