diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-22 18:04:13 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-10-22 18:07:41 +0100 |
commit | 36bcd90c81f7dc0d7ab268a30768c80ff53eb93d (patch) | |
tree | 62b68065c74ff06fd7391c5e54840e7426a93d47 /src/main.c | |
parent | 936971c1a3abe4bd5f197bad65dc8330fb4a22dc (diff) | |
download | ovm-36bcd90c81f7dc0d7ab268a30768c80ff53eb93d.tar.gz ovm-36bcd90c81f7dc0d7ab268a30768c80ff53eb93d.tar.bz2 ovm-36bcd90c81f7dc0d7ab268a30768c80ff53eb93d.zip |
When VEROBSE flag is set greater than 0, print traces in vm_execute_all
For each cycle, print the cycle and any changes. We track changes on
the stack by remembering the previous stack pointer. For registers, I
remember the previous array of registers and do a byte level compare
of the current registers and the remembered ones.
Produces pretty log messages and an easy way to track execution.
Diffstat (limited to 'src/main.c')
0 files changed, 0 insertions, 0 deletions