Re: reverse for GDB/MI

Vladimir Prus
2008-12-18T08:35:49Z

Tomas Holmberg wrote:

>> I am not quite sure about adding new set of commands for that. Can we use
>> --reverse option, thereby not introducing new commands?
>
> Adding a reverse option to the existing commands is possible. But I do
> not think it is a good idea. It is not always obvious what should
> happen when running a standard command in reverse.

Why? -exec-step always steps forward. -exec-step --reverse always steps
backward. Seems like a fairly simple model to me.

- Volodya