Have a look at the various headers that come in the LogTM codebase, in
transactions/common/ (GEMS 2.0+) in particular. There should be some
handy macros there intended for this purpose.
Regards,
Dan
Philip Garcia wrote:
Look in the simics reference manual about using the
special magic instructions. Using magic breakpoints in the code
(combined with having set magic-break-enable before running the code)
will have simics stop execution at that instruction. Just make sure
you do a "c 1" after the magic instruction before saving the
processor's state. If you don't do this, the state will be saved at
the magic instruction, and telling it to execute again will just cause
it to break again.
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
--
http://www.cs.wisc.edu/~gibson [esc]:wq!
|
|