Commit 5d583c3a authored by Philip Nilsson's avatar Philip Nilsson Committed by Alexandre Julliard

msvcrt: Make EXCEPTION_PRIV_INSTRUCTION generate SIGILL.

parent 6bb26abe
...@@ -497,6 +497,7 @@ static LONG WINAPI msvcrt_exception_filter(struct _EXCEPTION_POINTERS *except) ...@@ -497,6 +497,7 @@ static LONG WINAPI msvcrt_exception_filter(struct _EXCEPTION_POINTERS *except)
} }
break; break;
case EXCEPTION_ILLEGAL_INSTRUCTION: case EXCEPTION_ILLEGAL_INSTRUCTION:
case EXCEPTION_PRIV_INSTRUCTION:
if ((handler = sighandlers[MSVCRT_SIGILL]) != MSVCRT_SIG_DFL) if ((handler = sighandlers[MSVCRT_SIGILL]) != MSVCRT_SIG_DFL)
{ {
if (handler != MSVCRT_SIG_IGN) if (handler != MSVCRT_SIG_IGN)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment