Lines Matching defs:thread
34 StopInfo::StopInfo(Thread &thread, uint64_t value)
35 : m_thread_wp(thread.shared_from_this()),
36 m_stop_id(thread.GetProcess()->GetStopID()),
37 m_resume_id(thread.GetProcess()->GetResumeID()), m_value(value),
90 StopInfoBreakpoint(Thread &thread, break_id_t break_id)
91 : StopInfo(thread, break_id), m_should_stop(false),
98 StopInfoBreakpoint(Thread &thread, break_id_t break_id, bool should_stop)
99 : StopInfo(thread, break_id), m_should_stop(should_stop),
139 bool IsValidForOperatingSystemThread(Thread &thread) override {
140 ProcessSP process_sp(thread.GetProcess());
145 return bp_site_sp->ValidForThisThread(thread);
289 LLDB_LOGF(log, "PerformAction got called with an invalid thread.");
302 // hit another breakpoint on a different thread which does stop, users
350 // conditions and running commands. So we need to set the thread for
433 // not all of them valid for this thread. Skip the ones that
438 "Breakpoint %s hit on thread 0x%llx but it was not "
439 "for this thread, continuing.",
491 "Condition evaluated for breakpoint %s on thread "
691 StopInfoWatchpoint(Thread &thread, break_id_t watch_id, bool silently_skip_wp)
692 : StopInfo(thread, watch_id), m_silently_skip_wp(silently_skip_wp) {}
711 // access. This is the sort of job you have to defer to the thread plans,
717 ThreadPlanStepOverWatchpoint(Thread &thread,
720 : ThreadPlanStepInstruction(thread, false, true, eVoteNoOpinion,
839 // after the hit, queue a thread plan to do that, and then say not to stop.
859 // If we couldn't push the thread plan, just stop here:
869 // say we should continue, and tell the thread we really should do so:
1050 // the thread stopped with a watchpoint
1068 StopInfoUnixSignal(Thread &thread, int signo, const char *description,
1070 : StopInfo(thread, signo), m_code(code) {
1101 "thread {0:d} received signal: {1}", thread_sp->GetIndexID(),
1151 StopInfoInterrupt(Thread &thread, int signo, const char *description)
1152 : StopInfo(thread, signo) {
1174 StopInfoTrace(Thread &thread) : StopInfo(thread, LLDB_INVALID_UID) {}
1230 StopInfoException(Thread &thread, const char *description)
1231 : StopInfo(thread, LLDB_INVALID_UID) {
1252 StopInfoProcessorTrace(Thread &thread, const char *description)
1253 : StopInfo(thread, LLDB_INVALID_UID) {
1319 StopInfoExec(Thread &thread) : StopInfo(thread, LLDB_INVALID_UID) {}
1352 StopInfoFork(Thread &thread, lldb::pid_t child_pid, lldb::tid_t child_tid)
1353 : StopInfo(thread, child_pid), m_child_pid(child_pid),
1386 StopInfoVFork(Thread &thread, lldb::pid_t child_pid, lldb::tid_t child_tid)
1387 : StopInfo(thread, child_pid), m_child_pid(child_pid),
1420 StopInfoVForkDone(Thread &thread) : StopInfo(thread, 0) {}
1446 StopInfoSP StopInfo::CreateStopReasonWithBreakpointSiteID(Thread &thread,
1448 return StopInfoSP(new StopInfoBreakpoint(thread, break_id));
1451 StopInfoSP StopInfo::CreateStopReasonWithBreakpointSiteID(Thread &thread,
1454 return StopInfoSP(new StopInfoBreakpoint(thread, break_id, should_stop));
1459 StopInfoSP StopInfo::CreateStopReasonWithWatchpointID(Thread &thread,
1463 new StopInfoWatchpoint(thread, watch_id, silently_continue));
1466 StopInfoSP StopInfo::CreateStopReasonWithSignal(Thread &thread, int signo,
1469 thread.GetProcess()->GetUnixSignals()->IncrementSignalHitCount(signo);
1470 return StopInfoSP(new StopInfoUnixSignal(thread, signo, description, code));
1473 StopInfoSP StopInfo::CreateStopReasonWithInterrupt(Thread &thread, int signo,
1475 return StopInfoSP(new StopInfoInterrupt(thread, signo, description));
1478 StopInfoSP StopInfo::CreateStopReasonToTrace(Thread &thread) {
1479 return StopInfoSP(new StopInfoTrace(thread));
1489 StopInfoSP StopInfo::CreateStopReasonWithException(Thread &thread,
1491 return StopInfoSP(new StopInfoException(thread, description));
1494 StopInfoSP StopInfo::CreateStopReasonProcessorTrace(Thread &thread,
1496 return StopInfoSP(new StopInfoProcessorTrace(thread, description));
1499 StopInfoSP StopInfo::CreateStopReasonWithExec(Thread &thread) {
1500 return StopInfoSP(new StopInfoExec(thread));
1503 StopInfoSP StopInfo::CreateStopReasonFork(Thread &thread,
1506 return StopInfoSP(new StopInfoFork(thread, child_pid, child_tid));
1510 StopInfoSP StopInfo::CreateStopReasonVFork(Thread &thread,
1513 return StopInfoSP(new StopInfoVFork(thread, child_pid, child_tid));
1516 StopInfoSP StopInfo::CreateStopReasonVForkDone(Thread &thread) {
1517 return StopInfoSP(new StopInfoVForkDone(thread));