From 2a0495743b90d7ce00d71ac5703a84d2e48480a2 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Tue, 26 Oct 2021 11:45:14 +0200 Subject: [PATCH] dbghelp: Let StackWalkEx() succeed even when inline mode is requested. Fallback to regular StackWalk64() behavior. Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- dlls/dbghelp/stack.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dlls/dbghelp/stack.c b/dlls/dbghelp/stack.c index 6c70fc805cb..a93c454036c 100644 --- a/dlls/dbghelp/stack.c +++ b/dlls/dbghelp/stack.c @@ -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;