dumping processor state after each instruction executed
Hello,
I was wondering if it is possible to insert some code into the translated basic-block in order to dump the processor state to a file after every single instcution? This would be every single executed instruction, (meaning it couldn't be just dump the state once at translation time).
I'm trying to use qemu as a frontend to the TAXI tool
(http://www.eecs.umich.edu/~vlaovic/L150_vlaovic_s.pdf) while doing some
computer architecture work.
I've figured out how to add a helper function to the load/store routines to get a memory trace file, but getting an instruction trace is proving to be a bit harder.
Thanks for any help,
Vince Weaver
[email protected]