dbghelp: Don't require a 16-bit stack for StackWalk.
This commit is contained in:
parent
85afcdbfb3
commit
e42d1a8cc1
|
@ -146,7 +146,11 @@ static BOOL i386_stack_walk(struct cpu_stack_walk* csw, LPSTACKFRAME64 frame)
|
|||
goto done_err;
|
||||
}
|
||||
next_switch = p;
|
||||
if (curr_mode == stm_16bit)
|
||||
if (!next_switch) /* no 16-bit stack */
|
||||
{
|
||||
curr_switch = 0;
|
||||
}
|
||||
else if (curr_mode == stm_16bit)
|
||||
{
|
||||
if (!sw_read_mem(csw, next_switch, &frame32, sizeof(frame32)))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue