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