[PATCH 01/10] dbghelp: let StackWalkEx() succeed even when inline mode is requested

Eric Pouech eric.pouech at gmail.com
Tue Oct 26 04:45:14 CDT 2021


fallback to regular StackWalki64() behavior

Signed-off-by: Eric Pouech <eric.pouech at gmail.com>

---
 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;




More information about the wine-devel mailing list