Fix EXC_segv for the TRAP_sig undefined case (eg FreeBSD).
This commit is contained in:
parent
dfd69a38e8
commit
808403fe6f
@ -500,8 +500,8 @@ static HANDLER_DEF(EXC_segv)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
#else /* TRAP_sig */
|
#else /* TRAP_sig */
|
||||||
# ifdef __i386
|
# ifdef __i386__
|
||||||
if (INSTR_EmulateInstruction( &context )) return;
|
if (INSTR_EmulateInstruction( &context )) goto restore;
|
||||||
# endif
|
# endif
|
||||||
rec.ExceptionCode = EXCEPTION_ILLEGAL_INSTRUCTION; /* generic error */
|
rec.ExceptionCode = EXCEPTION_ILLEGAL_INSTRUCTION; /* generic error */
|
||||||
#endif /* TRAP_sig */
|
#endif /* TRAP_sig */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user