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

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