Commit bd63cce8 authored by Andrew Wesie's avatar Andrew Wesie Committed by Alexandre Julliard

ntdll: Handle interrupt 0x2c on x86-64.

parent 2f870c18
......@@ -2809,6 +2809,9 @@ static inline BOOL handle_interrupt( unsigned int interrupt, EXCEPTION_RECORD *r
{
switch(interrupt)
{
case 0x2c:
rec->ExceptionCode = STATUS_ASSERTION_FAILURE;
return TRUE;
case 0x2d:
context->Rip += 3;
rec->ExceptionCode = EXCEPTION_BREAKPOINT;
......
......@@ -2354,8 +2354,6 @@ static DWORD WINAPI handler( EXCEPTION_RECORD *rec, ULONG64 frame,
trace( "exception %u: %x flags:%x addr:%p\n",
entry, rec->ExceptionCode, rec->ExceptionFlags, rec->ExceptionAddress );
todo_wine_if( rec->ExceptionCode != except->status &&
rec->ExceptionCode != except->alt_status )
ok( rec->ExceptionCode == except->status ||
(except->alt_status != 0 && rec->ExceptionCode == except->alt_status),
"%u: Wrong exception code %x/%x\n", entry, rec->ExceptionCode, except->status );
......
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