dbghelp: Let StackWalkEx() succeed even when inline mode is requested.

Fallback to regular StackWalk64() behavior.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2021-10-26 11:45:14 +02:00 committed by Alexandre Julliard
parent 17f6252849
commit 2a0495743b
1 changed files with 7 additions and 3 deletions

View File

@ -298,9 +298,13 @@ BOOL WINAPI StackWalkEx(DWORD MachineType, HANDLE hProcess, HANDLE hThread,
}
if (frame->InlineFrameContext != INLINE_FRAME_CONTEXT_IGNORE)
{
FIXME("Inlined contexts are not supported yet\n");
SetLastError(ERROR_INVALID_PARAMETER);
return FALSE;
static BOOL once;
if (!once)
{
FIXME("Inlined contexts are not supported yet\n");
once = TRUE;
}
frame->InlineFrameContext = INLINE_FRAME_CONTEXT_IGNORE;
}
csw.hProcess = hProcess;