|
|
@ -284,13 +284,13 @@ static void displayCallStack (CLog *log)
|
|
|
|
::ZeroMemory (&callStack, sizeof(callStack));
|
|
|
|
::ZeroMemory (&callStack, sizeof(callStack));
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef NL_OS_WIN64
|
|
|
|
#ifdef NL_OS_WIN64
|
|
|
|
callStack.AddrPC.Offset = context.Rip;
|
|
|
|
callStack.AddrPC.Offset = context.Rip;
|
|
|
|
callStack.AddrStack.Offset = context.Rsp;
|
|
|
|
callStack.AddrStack.Offset = context.Rsp;
|
|
|
|
callStack.AddrFrame.Offset = context.Rbp;
|
|
|
|
callStack.AddrFrame.Offset = context.Rbp;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
callStack.AddrPC.Offset = context.Eip;
|
|
|
|
callStack.AddrPC.Offset = context.Eip;
|
|
|
|
callStack.AddrStack.Offset = context.Esp;
|
|
|
|
callStack.AddrStack.Offset = context.Esp;
|
|
|
|
callStack.AddrFrame.Offset = context.Ebp;
|
|
|
|
callStack.AddrFrame.Offset = context.Ebp;
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
callStack.AddrPC.Mode = AddrModeFlat;
|
|
|
|
callStack.AddrPC.Mode = AddrModeFlat;
|
|
|
|