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: dan at codesourcery dot com, gdb at sources dot redhat dot com
- Date: Fri, 20 May 2005 14:58:55 -0700
- Subject: Re: [discuss] Support for reverse-execution
>> (gdb) reverse-step
>> # reverse-stepi once (or until we leave the *current* line)
>
> BTW, this bit is a little more complicated, because we might go
> to another frame. So we might have to do some reverse-finish's
> stacked in there.
Absolutely -- I just wanted to focus on the one point.
> I think infrun will need some serious cleaning
> up to pull this off.
infrun *always* needs serious cleaning up. ;-)
Seriously, though, we'll have to add some new state,
but I think it's doable without major rewriting.