From: paawan oza <paawan1982@yahoo.com>
To: Michael Snyder <msnyder@vmware.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Subject: Re: arm reversible execution query
Date: Tue, 01 Feb 2011 03:20:00 -0000 [thread overview]
Message-ID: <258658.15169.qm@web112504.mail.gq1.yahoo.com> (raw)
In-Reply-To: <4D47051A.4080609@vmware.com>
Hi Michael,
thank you for your reply.
I think you are referring to below line. in process_record.
I386_RECORD_ARCH_LIST_ADD_REG (X86_RECORD_REIP_REGNUM);
if (record_arch_list_add_end ())
return -1;
I got it that it has to be saved explicitly by process record arch level.
Thanks,
Oza.
----- Original Message ----
From: Michael Snyder <msnyder@vmware.com>
To: paawan oza <paawan1982@yahoo.com>
Cc: "gdb@sourceware.org" <gdb@sourceware.org>
Sent: Tue, February 1, 2011 12:23:14 AM
Subject: Re: arm reversible execution query
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?
prev parent reply other threads:[~2011-02-01 3:20 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
2011-02-01 3:20 ` paawan oza [this message]
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=258658.15169.qm@web112504.mail.gq1.yahoo.com \
--to=paawan1982@yahoo.com \
--cc=gdb@sourceware.org \
--cc=msnyder@vmware.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