qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] When are register values committed to CPUARMState


From: Gaurav Sharma
Subject: [Qemu-devel] When are register values committed to CPUARMState
Date: Mon, 31 Mar 2014 23:29:15 +0530

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]