ntdll: Trace the exception extra information also in RtlUnwindEx.
This commit is contained in:
parent
2bce0c698e
commit
f996c89274
|
@ -2118,7 +2118,7 @@ static NTSTATUS raise_exception( EXCEPTION_RECORD *rec, CONTEXT *context, BOOL f
|
||||||
rec->ExceptionCode, rec->ExceptionFlags, rec->ExceptionAddress,
|
rec->ExceptionCode, rec->ExceptionFlags, rec->ExceptionAddress,
|
||||||
context->Rip, GetCurrentThreadId() );
|
context->Rip, GetCurrentThreadId() );
|
||||||
for (c = 0; c < min( EXCEPTION_MAXIMUM_PARAMETERS, rec->NumberParameters ); c++)
|
for (c = 0; c < min( EXCEPTION_MAXIMUM_PARAMETERS, rec->NumberParameters ); c++)
|
||||||
TRACE( " info[%d]=%08lx\n", c, rec->ExceptionInformation[c] );
|
TRACE( " info[%d]=%016lx\n", c, rec->ExceptionInformation[c] );
|
||||||
if (rec->ExceptionCode == EXCEPTION_WINE_STUB)
|
if (rec->ExceptionCode == EXCEPTION_WINE_STUB)
|
||||||
{
|
{
|
||||||
if (rec->ExceptionInformation[1] >> 16)
|
if (rec->ExceptionInformation[1] >> 16)
|
||||||
|
@ -2893,7 +2893,7 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
||||||
CONTEXT new_context;
|
CONTEXT new_context;
|
||||||
LDR_MODULE *module;
|
LDR_MODULE *module;
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
DWORD size;
|
DWORD i, size;
|
||||||
|
|
||||||
RtlCaptureContext( context );
|
RtlCaptureContext( context );
|
||||||
new_context = *context;
|
new_context = *context;
|
||||||
|
@ -2913,6 +2913,8 @@ void WINAPI RtlUnwindEx( PVOID end_frame, PVOID target_ip, EXCEPTION_RECORD *rec
|
||||||
|
|
||||||
TRACE( "code=%x flags=%x end_frame=%p target_ip=%p rip=%016lx\n",
|
TRACE( "code=%x flags=%x end_frame=%p target_ip=%p rip=%016lx\n",
|
||||||
rec->ExceptionCode, rec->ExceptionFlags, end_frame, target_ip, context->Rip );
|
rec->ExceptionCode, rec->ExceptionFlags, end_frame, target_ip, context->Rip );
|
||||||
|
for (i = 0; i < min( EXCEPTION_MAXIMUM_PARAMETERS, rec->NumberParameters ); i++)
|
||||||
|
TRACE( " info[%d]=%016lx\n", i, rec->ExceptionInformation[i] );
|
||||||
TRACE(" rax=%016lx rbx=%016lx rcx=%016lx rdx=%016lx\n",
|
TRACE(" rax=%016lx rbx=%016lx rcx=%016lx rdx=%016lx\n",
|
||||||
context->Rax, context->Rbx, context->Rcx, context->Rdx );
|
context->Rax, context->Rbx, context->Rcx, context->Rdx );
|
||||||
TRACE(" rsi=%016lx rdi=%016lx rbp=%016lx rsp=%016lx\n",
|
TRACE(" rsi=%016lx rdi=%016lx rbp=%016lx rsp=%016lx\n",
|
||||||
|
|
Loading…
Reference in New Issue