Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Michael Snyder <msnyder@vmware.com>
To: paawan oza <paawan1982@yahoo.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: arm reversible execution query
Date: Mon, 31 Jan 2011 18:53:00 -0000	[thread overview]
Message-ID: <4D47051A.4080609@vmware.com> (raw)
In-Reply-To: <610357.40561.qm@web112518.mail.gq1.yahoo.com>

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 
i386_process_record.

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


  reply	other threads:[~2011-01-31 18:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 10:14 regcache_raw_supply query paawan oza
2011-01-14 18:51 ` Michael Snyder
2011-01-31 13:50   ` arm reversible execution query paawan oza
2011-01-31 18:53     ` Michael Snyder [this message]
2011-02-01  3:20       ` paawan oza

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D47051A.4080609@vmware.com \
    --to=msnyder@vmware.com \
    --cc=gdb@sourceware.org \
    --cc=paawan1982@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox