Home | History | Annotate | Download | only in Target

Lines Matching refs:thread_sp

50     ThreadSP thread_sp (m_thread_wp.lock());
51 if (thread_sp)
52 return thread_sp->GetProcess()->GetStopID() == m_stop_id;
59 ThreadSP thread_sp (m_thread_wp.lock());
60 if (thread_sp)
62 m_stop_id = thread_sp->GetProcess()->GetStopID();
63 m_resume_id = thread_sp->GetProcess()->GetResumeID();
70 ThreadSP thread_sp (m_thread_wp.lock());
72 if (thread_sp)
74 lldb::StateType ret_type = thread_sp->GetProcess()->GetPrivateState();
87 uint32_t curr_resume_id = thread_sp->GetProcess()->GetResumeID();
88 uint32_t last_user_expression_id = thread_sp->GetProcess()->GetLastUserExpressionResumeID ();
141 ThreadSP thread_sp (m_thread_wp.lock());
142 if (thread_sp)
144 BreakpointSiteSP bp_site_sp (thread_sp->GetProcess()->GetBreakpointSiteList().FindByID (m_value));
174 ThreadSP thread_sp (m_thread_wp.lock());
175 if (thread_sp)
180 BreakpointSiteSP bp_site_sp (thread_sp->GetProcess()->GetBreakpointSiteList().FindByID (m_value));
183 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0));
206 ThreadSP thread_sp (m_thread_wp.lock());
207 if (thread_sp)
209 BreakpointSiteSP bp_site_sp (thread_sp->GetProcess()->GetBreakpointSiteList().FindByID (m_value));
233 ThreadSP thread_sp (m_thread_wp.lock());
234 if (thread_sp)
236 BreakpointSiteSP bp_site_sp (thread_sp->GetProcess()->GetBreakpointSiteList().FindByID (m_value));
265 BreakpointSP break_sp = thread_sp->GetProcess()->GetTarget().GetBreakpointByID(m_break_id);
318 ThreadSP thread_sp (m_thread_wp.lock());
320 if (thread_sp)
324 if (!thread_sp->IsValid())
336 BreakpointSiteSP bp_site_sp (thread_sp->GetProcess()->GetBreakpointSiteList().FindByID (m_value));
360 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0));
421 if (!bp_loc_sp->ValidForThisThread(thread_sp.get()))
464 Debugger &debugger = thread_sp->CalculateTarget()->GetDebugger();
478 thread_sp->GetProcess()->GetTarget().RemoveBreakpointByID (bp_loc_sp->GetBreakpoint().GetID());
604 ThreadSP thread_sp (m_thread_wp.lock());
605 if (thread_sp)
607 WatchpointSP wp_sp (thread_sp->CalculateTarget()->GetWatchpointList().FindByID(GetValue()));
611 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0));
647 ThreadSP thread_sp (m_thread_wp.lock());
648 if (thread_sp)
651 WatchpointSP wp_sp (thread_sp->CalculateTarget()->GetWatchpointList().FindByID(GetValue()));
654 ExecutionContext exe_ctx (thread_sp->GetStackFrameAtIndex(0));
673 StopInfoSP stored_stop_info_sp = thread_sp->GetStopInfo();
676 ThreadPlanSP new_plan_sp(thread_sp->QueueThreadPlanForStepSingleInstruction(false, // step-over
682 process->GetThreadList().SetSelectedThreadByID (thread_sp->GetID());
685 process->GetThreadList().SetSelectedThreadByID (thread_sp->GetID());
686 thread_sp->SetStopInfo(stored_stop_info_sp);
841 ThreadSP thread_sp (m_thread_wp.lock());
842 if (thread_sp)
843 return thread_sp->GetProcess()->GetUnixSignals().GetShouldStop (m_value);
850 ThreadSP thread_sp (m_thread_wp.lock());
851 if (thread_sp)
852 return thread_sp->GetProcess()->GetUnixSignals().GetShouldStop (m_value);
861 ThreadSP thread_sp (m_thread_wp.lock());
862 if (thread_sp)
864 bool should_notify = thread_sp->GetProcess()->GetUnixSignals().GetShouldNotify (m_value);
869 thread_sp->GetIndexID(),
870 thread_sp->GetProcess()->GetUnixSignals().GetSignalAsCString (m_value));
882 ThreadSP thread_sp (m_thread_wp.lock());
883 if (thread_sp)
885 if (thread_sp->GetProcess()->GetUnixSignals().GetShouldSuppress(m_value) == false)
886 thread_sp->SetResumeSignal(m_value);
895 ThreadSP thread_sp (m_thread_wp.lock());
896 if (thread_sp)
899 const char *signal_name = thread_sp->GetProcess()->GetUnixSignals().GetSignalAsCString (m_value);
1075 ThreadSP thread_sp (m_thread_wp.lock());
1076 if (thread_sp)
1077 thread_sp->GetProcess()->DidExec();