ntdll: Correctly jump to the modified context after an exception on x86_64.

This commit is contained in:
Alexandre Julliard 2009-08-26 21:24:17 +02:00
parent c1a1f0cfb4
commit 70c39c4456
1 changed files with 2 additions and 0 deletions

View File

@ -1685,6 +1685,7 @@ static void raise_segv_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
} }
status = raise_exception( rec, context, TRUE ); status = raise_exception( rec, context, TRUE );
if (status) raise_status( status, rec ); if (status) raise_status( status, rec );
set_cpu_context( context );
} }
@ -1697,6 +1698,7 @@ static void raise_generic_exception( EXCEPTION_RECORD *rec, CONTEXT *context )
{ {
NTSTATUS status = raise_exception( rec, context, TRUE ); NTSTATUS status = raise_exception( rec, context, TRUE );
if (status) raise_status( status, rec ); if (status) raise_status( status, rec );
set_cpu_context( context );
} }