Lines Matching defs:thread
33 StopInfo::StopInfo(Thread &thread, uint64_t value)
34 : m_thread_wp(thread.shared_from_this()),
35 m_stop_id(thread.GetProcess()->GetStopID()),
36 m_resume_id(thread.GetProcess()->GetResumeID()), m_value(value),
89 StopInfoBreakpoint(Thread &thread, break_id_t break_id)
90 : StopInfo(thread, break_id), m_should_stop(false),
97 StopInfoBreakpoint(Thread &thread, break_id_t break_id, bool should_stop)
98 : StopInfo(thread, break_id), m_should_stop(should_stop),
138 bool IsValidForOperatingSystemThread(Thread &thread) override {
139 ProcessSP process_sp(thread.GetProcess());
144 return bp_site_sp->ValidForThisThread(thread);
272 LLDB_LOGF(log, "PerformAction got called with an invalid thread.");
285 // hit another breakpoint on a different thread which does stop, users
333 // conditions and running commands. So we need to set the thread for
416 // not all of them valid for this thread. Skip the ones that
421 "Breakpoint %s hit on thread 0x%llx but it was not "
422 "for this thread, continuing.",
474 "Condition evaluated for breakpoint %s on thread "
674 StopInfoWatchpoint(Thread &thread, break_id_t watch_id, bool silently_skip_wp)
675 : StopInfo(thread, watch_id), m_silently_skip_wp(silently_skip_wp) {}
694 // access. This is the sort of job you have to defer to the thread plans,
700 ThreadPlanStepOverWatchpoint(Thread &thread,
703 : ThreadPlanStepInstruction(thread, false, true, eVoteNoOpinion,
822 // after the hit, queue a thread plan to do that, and then say not to stop.
842 // If we couldn't push the thread plan, just stop here:
852 // say we should continue, and tell the thread we really should do so:
1031 // the thread stopped with a watchpoint
1049 StopInfoUnixSignal(Thread &thread, int signo, const char *description,
1051 : StopInfo(thread, signo), m_code(code) {
1082 "thread {0:d} received signal: {1}", thread_sp->GetIndexID(),
1132 StopInfoTrace(Thread &thread) : StopInfo(thread, LLDB_INVALID_UID) {}
1150 StopInfoException(Thread &thread, const char *description)
1151 : StopInfo(thread, LLDB_INVALID_UID) {
1172 StopInfoProcessorTrace(Thread &thread, const char *description)
1173 : StopInfo(thread, LLDB_INVALID_UID) {
1239 StopInfoExec(Thread &thread) : StopInfo(thread, LLDB_INVALID_UID) {}
1272 StopInfoFork(Thread &thread, lldb::pid_t child_pid, lldb::tid_t child_tid)
1273 : StopInfo(thread, child_pid), m_child_pid(child_pid),
1306 StopInfoVFork(Thread &thread, lldb::pid_t child_pid, lldb::tid_t child_tid)
1307 : StopInfo(thread, child_pid), m_child_pid(child_pid),
1340 StopInfoVForkDone(Thread &thread) : StopInfo(thread, 0) {}
1366 StopInfoSP StopInfo::CreateStopReasonWithBreakpointSiteID(Thread &thread,
1368 return StopInfoSP(new StopInfoBreakpoint(thread, break_id));
1371 StopInfoSP StopInfo::CreateStopReasonWithBreakpointSiteID(Thread &thread,
1374 return StopInfoSP(new StopInfoBreakpoint(thread, break_id, should_stop));
1379 StopInfoSP StopInfo::CreateStopReasonWithWatchpointID(Thread &thread,
1383 new StopInfoWatchpoint(thread, watch_id, silently_continue));
1386 StopInfoSP StopInfo::CreateStopReasonWithSignal(Thread &thread, int signo,
1389 thread.GetProcess()->GetUnixSignals()->IncrementSignalHitCount(signo);
1390 return StopInfoSP(new StopInfoUnixSignal(thread, signo, description, code));
1393 StopInfoSP StopInfo::CreateStopReasonToTrace(Thread &thread) {
1394 return StopInfoSP(new StopInfoTrace(thread));
1404 StopInfoSP StopInfo::CreateStopReasonWithException(Thread &thread,
1406 return StopInfoSP(new StopInfoException(thread, description));
1409 StopInfoSP StopInfo::CreateStopReasonProcessorTrace(Thread &thread,
1411 return StopInfoSP(new StopInfoProcessorTrace(thread, description));
1414 StopInfoSP StopInfo::CreateStopReasonWithExec(Thread &thread) {
1415 return StopInfoSP(new StopInfoExec(thread));
1418 StopInfoSP StopInfo::CreateStopReasonFork(Thread &thread,
1421 return StopInfoSP(new StopInfoFork(thread, child_pid, child_tid));
1425 StopInfoSP StopInfo::CreateStopReasonVFork(Thread &thread,
1428 return StopInfoSP(new StopInfoVFork(thread, child_pid, child_tid));
1431 StopInfoSP StopInfo::CreateStopReasonVForkDone(Thread &thread) {
1432 return StopInfoSP(new StopInfoVForkDone(thread));