Rename unhandled CPU exception

This commit is contained in:
Hoang-Vu Dang
2016-07-05 11:10:39 -05:00
parent 9cdca5a32b
commit 9a2a5b15d8
8 changed files with 9 additions and 9 deletions

View File

@ -139,7 +139,7 @@ int cpu_exec(struct uc_struct *uc, CPUArchState *env) // qq
// Unicorn: If un-catched interrupt, stop executions.
if (!catched) {
cpu->halted = 1;
uc->invalid_error = UC_ERR_UNHANDLED_INTERRUPT;
uc->invalid_error = UC_ERR_EXCEPTION;
ret = EXCP_HLT;
break;
}