Lines Matching refs:thread_sp
39 ThreadSP thread_sp(m_thread_wp.lock()); in IsValid() local
40 if (thread_sp) in IsValid()
41 return thread_sp->GetProcess()->GetStopID() == m_stop_id; in IsValid()
46 ThreadSP thread_sp(m_thread_wp.lock()); in MakeStopInfoValid() local
47 if (thread_sp) { in MakeStopInfoValid()
48 m_stop_id = thread_sp->GetProcess()->GetStopID(); in MakeStopInfoValid()
49 m_resume_id = thread_sp->GetProcess()->GetResumeID(); in MakeStopInfoValid()
54 ThreadSP thread_sp(m_thread_wp.lock()); in HasTargetRunSinceMe() local
56 if (thread_sp) { in HasTargetRunSinceMe()
57 lldb::StateType ret_type = thread_sp->GetProcess()->GetPrivateState(); in HasTargetRunSinceMe()
69 uint32_t curr_resume_id = thread_sp->GetProcess()->GetResumeID(); in HasTargetRunSinceMe()
71 thread_sp->GetProcess()->GetLastUserExpressionResumeID(); in HasTargetRunSinceMe()
106 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo() local
107 if (thread_sp) { in StoreBPInfo()
109 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in StoreBPInfo()
148 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
149 if (thread_sp) { in ShouldStopSynchronous()
153 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in ShouldStopSynchronous()
155 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
182 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
183 if (thread_sp) { in GetDescription()
185 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in GetDescription()
210 thread_sp->GetProcess()->GetTarget().GetBreakpointByID( in GetDescription()
260 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
262 if (thread_sp) { in PerformAction()
265 if (!thread_sp->IsValid()) { in PerformAction()
276 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in PerformAction()
330 ThreadList::ExpressionExecutionThreadPusher thread_pusher(thread_sp); in PerformAction()
332 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
353 if (thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
355 thread_sp->ResetStopInfo(); in PerformAction()
420 if (!bp_loc_sp->ValidForThisThread(*thread_sp)) { in PerformAction()
426 static_cast<unsigned long long>(thread_sp->GetID())); in PerformAction()
481 static_cast<unsigned long long>(thread_sp->GetID()), in PerformAction()
520 thread_sp->SetShouldReportStop(eVoteYes); in PerformAction()
535 Debugger &debugger = thread_sp->CalculateTarget()->GetDebugger(); in PerformAction()
553 thread_sp->GetProcess()->GetTarget().RemoveBreakpointByID( in PerformAction()
587 thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
596 thread_sp->CalculatePublicStopInfo(); in PerformAction()
704 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
705 if (thread_sp) { in ShouldStopSynchronous()
707 thread_sp->CalculateTarget()->GetWatchpointList().FindByID( in ShouldStopSynchronous()
711 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
745 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
746 if (thread_sp) { in PerformAction()
749 thread_sp->CalculateTarget()->GetWatchpointList().FindByID( in PerformAction()
752 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
772 StopInfoSP stored_stop_info_sp = thread_sp->GetStopInfo(); in PerformAction()
777 thread_sp->QueueThreadPlanForStepSingleInstruction( in PerformAction()
788 thread_sp->GetID()); in PerformAction()
791 thread_sp->GetID()); in PerformAction()
792 thread_sp->SetStopInfo(stored_stop_info_sp); in PerformAction()
820 thread_sp->CalculateTarget()->GetWatchpointList().FindByAddress( in PerformAction()
968 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
969 if (thread_sp) in ShouldStopSynchronous()
970 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStopSynchronous()
975 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
976 if (thread_sp) in ShouldStop()
977 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStop()
983 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify() local
984 if (thread_sp) { in DoShouldNotify()
986 thread_sp->GetProcess()->GetUnixSignals()->GetShouldNotify(m_value); in DoShouldNotify()
990 "thread %d received signal: %s", thread_sp->GetIndexID(), in DoShouldNotify()
991 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsCString( in DoShouldNotify()
1002 ThreadSP thread_sp(m_thread_wp.lock()); in WillResume() local
1003 if (thread_sp) { in WillResume()
1004 if (!thread_sp->GetProcess()->GetUnixSignals()->GetShouldSuppress( in WillResume()
1006 thread_sp->SetResumeSignal(m_value); in WillResume()
1012 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
1013 if (thread_sp) { in GetDescription()
1016 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsCString( in GetDescription()
1145 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
1146 if (thread_sp) in ShouldStop()
1147 return thread_sp->GetProcess()->GetStopOnExec(); in ShouldStop()
1161 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1162 if (thread_sp) in PerformAction()
1163 thread_sp->GetProcess()->DidExec(); in PerformAction()
1191 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1192 if (thread_sp) in PerformAction()
1193 thread_sp->GetProcess()->DidFork(m_child_pid, m_child_tid); in PerformAction()
1225 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1226 if (thread_sp) in PerformAction()
1227 thread_sp->GetProcess()->DidVFork(m_child_pid, m_child_tid); in PerformAction()
1257 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1258 if (thread_sp) in PerformAction()
1259 thread_sp->GetProcess()->DidVForkDone(); in PerformAction()
1364 ThreadSP thread_sp = stop_info_sp->GetThread(); in GetCrashingDereference() local
1365 if (!thread_sp) { in GetCrashingDereference()
1369 StackFrameSP frame_sp = thread_sp->GetSelectedFrame(); in GetCrashingDereference()