mirror of
https://github.com/ptitSeb/box64.git
synced 2025-10-14 02:38:54 +08:00
[BOX32][DYNAREC] Small fix on 32bits SIGILL handling
This commit is contained in:
@@ -670,6 +670,7 @@ void my_sigactionhandler_oldcode_32(x64emu_t* emu, int32_t sig, int simple, sigi
|
||||
} else if(sig==X64_SIGILL) {
|
||||
info2->si_code = 2;
|
||||
sigcontext->uc_mcontext.gregs[I386_TRAPNO] = 6;
|
||||
info2->_sifields._sigfault.__si_addr = sigcontext->uc_mcontext.gregs[I386_EIP];
|
||||
} else if(sig==X64_SIGTRAP) {
|
||||
if(info->si_code==1) { //single step
|
||||
info2->si_code = 2;
|
||||
|
Reference in New Issue
Block a user