This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: [discuss] semantics, "replay debugging" vs. "reverse debugging"
Sorry buddies. Maybe I spend too much time to think about the implement. :)
And even if in same size insn set arch and insn is like "add
r0,r0,#10". It can't reverse without record yet. Cause when you want
reverse execute, you need load insn. But you don't know where are you
form. From prev insn or a long address that have a jump insn.
Of course, you can just record the PC, not record other thing. :)
On Thu, Oct 23, 2008 at 02:09, Michael Snyder <msnyder@vmware.com> wrote:
> teawater wrote:
>>
>> Sorry I am wrong.
>> In ARM, Just adds set cpsr reg. So:
>> add r0,r0,#10
>> Can reverse without record too.
>
> OK, well, I was really speaking in the abstract.
> I only meant "it's possible to imagine a target or
> architecture in which reverse execution can be done
> by some means other than record/replay".
>
> Didn't necessarily mean that it could be done on any
> real, existing architecture.
>
>