debugger: Don't feed the stack walker an XThread's wait handle

This commit is contained in:
Dr. Chat 2015-12-17 18:27:03 -06:00 committed by Ben Vanik
parent 8f92c60a0b
commit e619e4590c
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ void Debugger::UpdateThreadExecutionStates(uint32_t override_handle,
in_host_context = override_context;
}
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,
&thread_info->host_context, &hash);
stack_walker->ResolveStack(frame_host_pcs, cpu_frames, count);