Re: reverse for GDB/MI

Joel Brobecker
2008-12-19T11:07:24Z

> You can also look at the documentation to see if the reverse commands are
> just variants of the forward variants. I do not think we can replace the
> documentation for reverse-step, reverse-step-instruction, reverse-continue,
> reverse-finish, reverse-next, and reverse-next-instruction and just say it
> is the reverse variant for the corresponding forward commands. Please look
> at the other reverse commands and see if you can say "reverse-finish" is
> just the reverse variant of finish.

When I reviewed the patches that introduced the generic mechanics for
reverse debugging, I remember that some cases were particularly
difficult to understand; or in other words, it was difficult to
understand what we were supposed to do. Finish was one of the commands
that were tricky to "reverse", I remember this example clearly.

--
Joel