debugger: Don't feed the stack walker an XThread's wait handle
This commit is contained in:
parent
8f92c60a0b
commit
e619e4590c
|
@ -313,7 +313,7 @@ void Debugger::UpdateThreadExecutionStates(uint32_t override_handle,
|
||||||
in_host_context = override_context;
|
in_host_context = override_context;
|
||||||
}
|
}
|
||||||
size_t count = stack_walker->CaptureStackTrace(
|
size_t count = stack_walker->CaptureStackTrace(
|
||||||
thread->GetWaitHandle()->native_handle(), frame_host_pcs, 0,
|
thread->thread()->native_handle(), frame_host_pcs, 0,
|
||||||
xe::countof(frame_host_pcs), in_host_context,
|
xe::countof(frame_host_pcs), in_host_context,
|
||||||
&thread_info->host_context, &hash);
|
&thread_info->host_context, &hash);
|
||||||
stack_walker->ResolveStack(frame_host_pcs, cpu_frames, count);
|
stack_walker->ResolveStack(frame_host_pcs, cpu_frames, count);
|
||||||
|
|
Loading…
Reference in New Issue