Lines Matching refs:thread_sp

1549       ThreadSP thread_sp(  in DoUpdateThreadList()  local
1551 if (!thread_sp) { in DoUpdateThreadList()
1552 thread_sp = std::make_shared<ThreadGDBRemote>(*this, tid); in DoUpdateThreadList()
1554 thread_sp.get(), thread_sp->GetID()); in DoUpdateThreadList()
1557 thread_sp.get(), thread_sp->GetID()); in DoUpdateThreadList()
1560 SetThreadPc(thread_sp, i); in DoUpdateThreadList()
1561 new_thread_list.AddThreadSortedByIndexID(thread_sp); in DoUpdateThreadList()
1579 void ProcessGDBRemote::SetThreadPc(const ThreadSP &thread_sp, uint64_t index) { in SetThreadPc() argument
1580 if (m_thread_ids.size() == m_thread_pcs.size() && thread_sp.get() && in SetThreadPc()
1583 static_cast<ThreadGDBRemote *>(thread_sp.get()); in SetThreadPc()
1584 RegisterContextSP reg_ctx_sp(thread_sp->GetRegisterContext()); in SetThreadPc()
1655 ThreadSP thread_sp; in SetThreadStopInfo() local
1664 thread_sp = m_thread_list_real.FindThreadByProtocolID(tid, false); in SetThreadStopInfo()
1666 if (!thread_sp) { in SetThreadStopInfo()
1668 thread_sp = std::make_shared<ThreadGDBRemote>(*this, tid); in SetThreadStopInfo()
1669 m_thread_list_real.AddThread(thread_sp); in SetThreadStopInfo()
1673 if (thread_sp) { in SetThreadStopInfo()
1675 static_cast<ThreadGDBRemote *>(thread_sp.get()); in SetThreadStopInfo()
1682 SetThreadPc(thread_sp, iter - m_thread_ids.begin()); in SetThreadStopInfo()
1709 thread_sp->SetName(thread_name.empty() ? nullptr : thread_name.c_str()); in SetThreadStopInfo()
1728 if (!thread_sp->StopInfoIsUpToDate()) { in SetThreadStopInfo()
1729 thread_sp->SetStopInfo(StopInfoSP()); in SetThreadStopInfo()
1733 m_thread_list.GetBackingThread(thread_sp)) in SetThreadStopInfo()
1734 thread_sp = memory_thread_sp; in SetThreadStopInfo()
1739 thread_sp->SetStopInfo( in SetThreadStopInfo()
1741 *thread_sp, exc_type, exc_data_size, in SetThreadStopInfo()
1750 addr_t pc = thread_sp->GetRegisterContext()->GetPC(); in SetThreadStopInfo()
1751 lldb::BreakpointSiteSP bp_site_sp = thread_sp->GetProcess() in SetThreadStopInfo()
1758 if (bp_site_sp && bp_site_sp->ValidForThisThread(*thread_sp)) { in SetThreadStopInfo()
1759 thread_sp->SetStopInfo( in SetThreadStopInfo()
1761 *thread_sp, bp_site_sp->GetID())); in SetThreadStopInfo()
1763 thread_sp->SetStopInfo( in SetThreadStopInfo()
1764 StopInfo::CreateStopReasonToTrace(*thread_sp)); in SetThreadStopInfo()
1767 addr_t pc = thread_sp->GetRegisterContext()->GetPC(); in SetThreadStopInfo()
1768 lldb::BreakpointSiteSP bp_site_sp = thread_sp->GetProcess() in SetThreadStopInfo()
1778 if (bp_site_sp->ValidForThisThread(*thread_sp)) { in SetThreadStopInfo()
1779 thread_sp->SetStopInfo( in SetThreadStopInfo()
1781 *thread_sp, bp_site_sp->GetID())); in SetThreadStopInfo()
1784 thread_sp->SetStopInfo(invalid_stop_info_sp); in SetThreadStopInfo()
1816 thread_sp->SetStopInfo(StopInfo::CreateStopReasonWithWatchpointID( in SetThreadStopInfo()
1817 *thread_sp, watch_id, wp_hit_addr)); in SetThreadStopInfo()
1820 thread_sp->SetStopInfo(StopInfo::CreateStopReasonWithException( in SetThreadStopInfo()
1821 *thread_sp, description.c_str())); in SetThreadStopInfo()
1825 thread_sp->SetStopInfo( in SetThreadStopInfo()
1826 StopInfo::CreateStopReasonWithExec(*thread_sp)); in SetThreadStopInfo()
1829 thread_sp->SetStopInfo(StopInfo::CreateStopReasonProcessorTrace( in SetThreadStopInfo()
1830 *thread_sp, description.c_str())); in SetThreadStopInfo()
1837 thread_sp->SetStopInfo(StopInfo::CreateStopReasonFork( in SetThreadStopInfo()
1838 *thread_sp, child_pid, child_tid)); in SetThreadStopInfo()
1846 thread_sp->SetStopInfo(StopInfo::CreateStopReasonVFork( in SetThreadStopInfo()
1847 *thread_sp, child_pid, child_tid)); in SetThreadStopInfo()
1850 thread_sp->SetStopInfo( in SetThreadStopInfo()
1851 StopInfo::CreateStopReasonVForkDone(*thread_sp)); in SetThreadStopInfo()
1855 addr_t pc = thread_sp->GetRegisterContext()->GetPC(); in SetThreadStopInfo()
1857 thread_sp->GetProcess()->GetBreakpointSiteList().FindByAddress( in SetThreadStopInfo()
1865 if (bp_site_sp && bp_site_sp->ValidForThisThread(*thread_sp)) { in SetThreadStopInfo()
1866 thread_sp->SetStopInfo( in SetThreadStopInfo()
1868 *thread_sp, bp_site_sp->GetID())); in SetThreadStopInfo()
1878 addr_t pc = thread_sp->GetRegisterContext()->GetPC() + in SetThreadStopInfo()
1880 lldb::BreakpointSiteSP bp_site_sp = thread_sp->GetProcess() in SetThreadStopInfo()
1890 if (bp_site_sp->ValidForThisThread(*thread_sp)) { in SetThreadStopInfo()
1892 thread_sp->GetRegisterContext()->SetPC(pc); in SetThreadStopInfo()
1893 thread_sp->SetStopInfo( in SetThreadStopInfo()
1895 *thread_sp, bp_site_sp->GetID())); in SetThreadStopInfo()
1898 thread_sp->SetStopInfo(invalid_stop_info_sp); in SetThreadStopInfo()
1905 if (thread_sp->GetTemporaryResumeState() == eStateStepping) in SetThreadStopInfo()
1906 thread_sp->SetStopInfo( in SetThreadStopInfo()
1907 StopInfo::CreateStopReasonToTrace(*thread_sp)); in SetThreadStopInfo()
1909 thread_sp->SetStopInfo(StopInfo::CreateStopReasonWithSignal( in SetThreadStopInfo()
1910 *thread_sp, signo, description.c_str())); in SetThreadStopInfo()
1914 thread_sp->SetStopInfo(StopInfo::CreateStopReasonWithSignal( in SetThreadStopInfo()
1915 *thread_sp, signo, description.c_str())); in SetThreadStopInfo()
1919 lldb::StopInfoSP stop_info_sp(thread_sp->GetStopInfo()); in SetThreadStopInfo()
1925 thread_sp->SetStopInfo(StopInfo::CreateStopReasonWithException( in SetThreadStopInfo()
1926 *thread_sp, description.c_str())); in SetThreadStopInfo()
1933 return thread_sp; in SetThreadStopInfo()
2301 ThreadSP thread_sp = SetThreadStopInfo( in SetThreadStopInfo() local