diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-08 18:12:52 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-11-08 18:12:52 +0000 |
commit | 8fa40d8515daeaafe74e686265e7f3104ae76b65 (patch) | |
tree | 4289aa3aee4b693de384ebdf6b5c9872e85fe14f /asm/parser.h | |
parent | 6e524569c34b0fb41c85280af5ea3f924999bbdf (diff) | |
download | ovm-8fa40d8515daeaafe74e686265e7f3104ae76b65.tar.gz ovm-8fa40d8515daeaafe74e686265e7f3104ae76b65.tar.bz2 ovm-8fa40d8515daeaafe74e686265e7f3104ae76b65.zip |
Fixed issue where, on error, runtime would show wrong instruction
When an error occurred, because prog->ptr was incremented beforehand
the trace would show the next instruction as the culprit rather than
the actual instruction. This commit fixes that by incrementing the
program if and only if the command was run successfully.
Diffstat (limited to 'asm/parser.h')
0 files changed, 0 insertions, 0 deletions