Lines Matching refs:thread_sp
1375 ThreadSP thread_sp (old_thread_list_copy.RemoveThreadByProtocolID(tid, false));
1376 if (!thread_sp)
1378 thread_sp.reset (new ThreadGDBRemote (*this, tid));
1383 thread_sp.get(),
1384 thread_sp->GetID());
1392 thread_sp.get(),
1393 thread_sp->GetID());
1395 new_thread_list.AddThread(thread_sp);
1454 ThreadSP thread_sp;
1477 thread_sp = m_thread_list_real.FindThreadByProtocolID(tid, false);
1479 if (!thread_sp)
1482 thread_sp.reset (new ThreadGDBRemote (*this, tid));
1487 thread_sp.get(),
1488 thread_sp->GetID());
1490 m_thread_list_real.AddThread(thread_sp);
1492 gdb_thread = static_cast<ThreadGDBRemote *> (thread_sp.get());
1575 if (thread_sp)
1578 thread_sp->SetStopInfo (StopInfoSP());
1586 thread_sp->SetStopInfo (StopInfoMachException::CreateStopReasonWithMachException (*thread_sp,
1601 thread_sp->SetStopInfo (StopInfo::CreateStopReasonToTrace (*thread_sp));
1606 addr_t pc = thread_sp->GetRegisterContext()->GetPC();
1607 lldb::BreakpointSiteSP bp_site_sp = thread_sp->GetProcess()->GetBreakpointSiteList().FindByAddress(pc);
1614 if (bp_site_sp->ValidForThisThread (thread_sp.get()))
1616 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithBreakpointSiteID (*thread_sp, bp_site_sp->GetID()));
1621 thread_sp->SetStopInfo (invalid_stop_info_sp);
1634 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithWatchpointID (*thread_sp, watch_id));
1639 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithException(*thread_sp, description.c_str()));
1645 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithExec(*thread_sp));
1657 addr_t pc = thread_sp->GetRegisterContext()->GetPC();
1658 lldb::BreakpointSiteSP bp_site_sp = thread_sp
1665 if (bp_site_sp->ValidForThisThread (thread_sp.get()))
1667 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithBreakpointSiteID (*thread_sp, bp_site_sp->GetID()));
1672 thread_sp->SetStopInfo (invalid_stop_info_sp);
1680 if (thread_sp->GetTemporaryResumeState() == eStateStepping)
1681 thread_sp->SetStopInfo (StopInfo::CreateStopReasonToTrace (*thread_sp));
1683 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithSignal(*thread_sp, signo));
1687 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithSignal (*thread_sp, signo));
1692 lldb::StopInfoSP stop_info_sp (thread_sp->GetStopInfo ());
1699 thread_sp->SetStopInfo (StopInfo::CreateStopReasonWithException (*thread_sp, description.c_str()));
1859 ThreadSP thread_sp = threads.GetThreadAtIndex(i);
1860 StopInfoSP stop_info_sp = thread_sp->GetPrivateStopInfo();
1869 thread_sp->GetProtocolID(),
1894 ThreadSP thread_sp = threads.GetThreadAtIndex(i);
1895 StopInfoSP stop_info_sp = thread_sp->GetPrivateStopInfo();
1904 thread_sp->GetProtocolID());
1905 thread_sp->SetResumeState(eStateSuspended);