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()
108 ThreadSP thread_sp(m_thread_wp.lock()); in StoreBPInfo() local
109 if (thread_sp) { in StoreBPInfo()
111 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in StoreBPInfo()
139 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
140 if (thread_sp) { in ShouldStopSynchronous()
144 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in ShouldStopSynchronous()
146 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
168 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify() local
169 if (thread_sp) { in DoShouldNotify()
171 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in DoShouldNotify()
189 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
190 if (thread_sp) { in GetDescription()
192 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in GetDescription()
217 thread_sp->GetProcess()->GetTarget().GetBreakpointByID( in GetDescription()
267 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
269 if (thread_sp) { in PerformAction()
273 if (!thread_sp->IsValid()) { in PerformAction()
284 thread_sp->GetProcess()->GetBreakpointSiteList().FindByID(m_value)); in PerformAction()
316 ThreadList::ExpressionExecutionThreadPusher thread_pusher(thread_sp); in PerformAction()
318 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
339 if (thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
341 thread_sp->ResetStopInfo(); in PerformAction()
406 if (!bp_loc_sp->ValidForThisThread(thread_sp.get())) { in PerformAction()
411 thread_sp->GetID())); in PerformAction()
463 thread_sp->GetID()), in PerformAction()
491 thread_sp->SetShouldReportStop(eVoteYes); in PerformAction()
503 Debugger &debugger = thread_sp->CalculateTarget()->GetDebugger(); in PerformAction()
518 thread_sp->GetProcess()->GetTarget().RemoveBreakpointByID( in PerformAction()
546 thread_sp->CompletedPlanOverridesBreakpoint()) { in PerformAction()
555 thread_sp->ResetStopInfo(); in PerformAction()
659 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
660 if (thread_sp) { in ShouldStopSynchronous()
662 thread_sp->CalculateTarget()->GetWatchpointList().FindByID( in ShouldStopSynchronous()
666 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in ShouldStopSynchronous()
701 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
702 if (thread_sp) { in PerformAction()
705 thread_sp->CalculateTarget()->GetWatchpointList().FindByID( in PerformAction()
708 ExecutionContext exe_ctx(thread_sp->GetStackFrameAtIndex(0)); in PerformAction()
728 StopInfoSP stored_stop_info_sp = thread_sp->GetStopInfo(); in PerformAction()
733 thread_sp->QueueThreadPlanForStepSingleInstruction( in PerformAction()
744 thread_sp->GetID()); in PerformAction()
747 thread_sp->GetID()); in PerformAction()
748 thread_sp->SetStopInfo(stored_stop_info_sp); in PerformAction()
776 thread_sp->CalculateTarget()->GetWatchpointList().FindByAddress( in PerformAction()
932 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStopSynchronous() local
933 if (thread_sp) in ShouldStopSynchronous()
934 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStopSynchronous()
939 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
940 if (thread_sp) in ShouldStop()
941 return thread_sp->GetProcess()->GetUnixSignals()->GetShouldStop(m_value); in ShouldStop()
947 ThreadSP thread_sp(m_thread_wp.lock()); in DoShouldNotify() local
948 if (thread_sp) { in DoShouldNotify()
950 thread_sp->GetProcess()->GetUnixSignals()->GetShouldNotify(m_value); in DoShouldNotify()
954 "thread %d received signal: %s", thread_sp->GetIndexID(), in DoShouldNotify()
955 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsCString( in DoShouldNotify()
966 ThreadSP thread_sp(m_thread_wp.lock()); in WillResume() local
967 if (thread_sp) { in WillResume()
968 if (!thread_sp->GetProcess()->GetUnixSignals()->GetShouldSuppress( in WillResume()
970 thread_sp->SetResumeSignal(m_value); in WillResume()
976 ThreadSP thread_sp(m_thread_wp.lock()); in GetDescription() local
977 if (thread_sp) { in GetDescription()
980 thread_sp->GetProcess()->GetUnixSignals()->GetSignalAsCString( in GetDescription()
1094 ThreadSP thread_sp(m_thread_wp.lock()); in ShouldStop() local
1095 if (thread_sp) in ShouldStop()
1096 return thread_sp->GetProcess()->GetStopOnExec(); in ShouldStop()
1110 ThreadSP thread_sp(m_thread_wp.lock()); in PerformAction() local
1111 if (thread_sp) in PerformAction()
1112 thread_sp->GetProcess()->DidExec(); in PerformAction()
1194 ThreadSP thread_sp = stop_info_sp->GetThread(); in GetCrashingDereference() local
1195 if (!thread_sp) { in GetCrashingDereference()
1199 StackFrameSP frame_sp = thread_sp->GetSelectedFrame(); in GetCrashingDereference()