RE: reverse for GDB/MI

Marc Khouzam
2008-12-22T21:16:58Z

I was mostly trying to give more weight to the argument
that reverse commands are not necessarily the mirror
image of forward commands, since reverse debugging
opens the door to entirely new commands.
Implementing those commands is another point though :-)

> -----Original Message-----
> From: Michael Snyder [mailto:msnyder@vmware.com]
> Sent: Monday, December 22, 2008 4:08 PM
> To: Marc Khouzam
> Cc: Tomas Holmberg; Vladimir Prus; gdb-patches@sources.redhat.com
> Subject: Re: reverse for GDB/MI
>
> Marc Khouzam wrote:
> > Hi,
> >
> > It was pointed out to me that people who have been doing reversible
> > debug for a while seems to
> > have specific commands for reverse debugging and they do
> have a command
> > for "go to time point P".
> > For example http://www.undo-software.com/undodb_man.html:
> >
> > bgoton <number>
> > Move forwards or backwards to the specified time, in simulated
> > nanoseconds.
> > bgoton +<number> | -<number>
> > Step forward/backward the specified number of simulated
> nanoseconds.
>
> I think that's a great idea, but
> a) it seems a bit tangential to this thread, since it would
> not simply be an addition to MI, but to the CLI as well, and
> b) gdb currently has no concept of a time point or execution
> point, so we would have to discuss how to define one.
>
>