This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: [discuss] Support for reverse-execution
- From: Michael Snyder <msnyder at redhat dot com>
- To: gdb at sources dot redhat dot com
- Date: Fri, 20 May 2005 14:51:17 -0700
- Subject: 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.
>>
>> Daniel, I rest my case ;-)
>
> I don't rest mine :-) I admit I was a little surprised to see
> someone else suggest it, but I still think it's an awful idea as
> a user interface.
Make me a third person who thought of it independantly.
Look at it this way -- once we've implemented the reverse-x
command set, adding this would be trivial; just a single
set/show mode variable. Then we could evaluate both, or even
leave it to the user to choose.