This is the mail archive of the gdb@sources.redhat.com 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: [discuss] Support for reverse-execution


> Would not it be better to have a single "reverse" command which
> puts the debugger in "reverse" mode -- making step/stepi/next/nexti
> go backward.
>
> This might be handier for UI -- after all "step" can be abbreviated
> as 's', but reverse-step can't be abbreviated. This might be better
> in GUI too -- instead of doubling the number of "step" commands
> you'd have a single "gear" switch, that can be in either "forward"
> or "reverse" position.
>
> - Volodya

I'm certainly not opposed to that, although I lean a bit more
toward the separate "analogue" commands.

Fortunately, command interface is easy to implement.
Maybe we will float several independant patches that
each implement a different CLI to the same functionality,
so we can try them all out and get a feel for them.


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