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

View file

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