arm reversible execution query

Michael Snyder
Mon Jan 31 18:53:00 GMT 2011

paawan oza wrote:
> Hi all,
> I have been wroking on arm-reversible implementation and doing arm insn part. 
> I am done with framework, and supporting 30-40% on insns till now.
> when I simply test on arm board, 
> I find that,
> all the memory and registers are replayed correctly and recording is happening.
> but,
> do I need to save Program counter explicitly ?
> doesnt gdb reversible framework take care of changing pc when I apply 
> reverse-stepi/nexti command ?
> as i386-tdep.c, does not seem to be saving PC explicitly.
> please clarify.

i386-tdep.c does save the PC ($eip), at the end of function 

If you don't save the PC, how can you do a reverse jump?

More information about the Gdb mailing list