ntdll: Handle interrupt 0x2c on x86-64.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2f870c1801
commit
bd63cce8f5
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue