qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] When are register values committed to CPUARMState
@ 2014-03-31 17:59 Gaurav Sharma
  2014-03-31 18:05 ` Peter Maydell
  0 siblings, 1 reply; 4+ messages in thread
From: Gaurav Sharma @ 2014-03-31 17:59 UTC (permalink / raw)
  To: QEMU-DEVEL

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

I am trying to build a register trace for ARM target.
I am trying to just log the register values, for that I added TCG ops to
generate a helper function that dumps the register values in CPUARMState.
This helper function i have called at the end of disas_arm_state function,
so that if enabled i get a trace for each instruction.
However, the register values that are dumped do not seem to be correct, it
always the register at the 0th index that seems to have any value, even
though the disassembly indicates otherwise.
I want to know, when are the register values committed to  CPUARMState
structure ?

Is there any way , i could find out the register values that have changed
for any instruction ?

Thanks,
Gaurav

[-- Attachment #2: Type: text/html, Size: 847 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-01  6:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-31 17:59 [Qemu-devel] When are register values committed to CPUARMState Gaurav Sharma
2014-03-31 18:05 ` Peter Maydell
     [not found]   ` <CABiB5K6F9hrJ9mhmxDCNv+txt40s=P-gk8AEHUUjnsaGOcyNbg@mail.gmail.com>
2014-03-31 19:17     ` Peter Maydell
2014-04-01  6:08       ` Gaurav Sharma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).