mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-01 08:13:18 +00:00
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:
parent
17f6252849
commit
2a0495743b
1 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue