Lines Matching refs:GetID
274 SetCurrentThreadID(m_threads.front()->GetID()); in MonitorSIGTRAP()
281 if (t->GetID() == static_cast<lldb::tid_t>(info.pl_lwpid)) in MonitorSIGTRAP()
322 m_threads_stepping_with_breakpoint.find(thread->GetID()); in MonitorSIGTRAP()
333 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
355 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
361 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
394 static_cast<lldb::tid_t>(info.pl_lwpid) == thread.GetID()) { in MonitorSignal()
396 SetCurrentThreadID(thread.GetID()); in MonitorSignal()
453 LLDB_LOG(log, "pid {0}", GetID()); in Resume()
464 resume_actions.GetActionForThread(thread.GetID(), true); in Resume()
467 ResumeAction suspend_action{thread.GetID(), eStateSuspended, in Resume()
471 LLDB_LOG(log, "no action specified for pid {0} tid {1}", GetID(), in Resume()
472 thread.GetID()); in Resume()
479 action->state, action->signal, GetID(), thread.GetID()); in Resume()
500 __FUNCTION__, StateAsCString(action->state), GetID(), thread.GetID()); in Resume()
510 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), signal); in Resume()
523 if (kill(GetID(), SIGSTOP) != 0) in Halt()
535 if (GetID() == LLDB_INVALID_PROCESS_ID) in Detach()
538 return PtraceWrapper(PT_DETACH, GetID()); in Detach()
544 if (kill(GetID(), signo)) in Signal()
554 LLDB_LOG(log, "pid {0}", GetID()); in Kill()
565 LLDB_LOG(log, "ignored for PID {0} due to current state: {1}", GetID(), in Kill()
712 m_mem_region_cache.size(), GetID()); in PopulateMemoryRegionCache()
778 llvm::sys::RetryAfterSignal(-1, waitpid, GetID(), &status, WNOHANG); in SigchldHandler()
785 LLDB_LOG(log, "waitpid ({0}, &status, _) failed: {1}", GetID(), error); in SigchldHandler()
792 wait_pid == static_cast<::pid_t>(GetID())); in SigchldHandler()
796 GetID(), wait_pid, status, exited); in SigchldHandler()
809 if (thread->GetID() == thread_id) { in HasThreadNoLock()
821 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
837 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
844 if ((*it)->GetID() == thread_id) { in RemoveThread()
851 SetCurrentThreadID(m_threads.front()->GetID()); in RemoveThread()
878 SetCurrentThreadID(m_threads.front()->GetID()); in Attach()
899 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in ReadMemory()
928 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in WriteMemory()
941 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_AUXV, static_cast<int>(GetID())}; in GetAuxvData()
956 PtraceWrapper(PT_GET_EVENT_MASK, GetID(), &events, sizeof(events)); in SetupTrace()
960 status = PtraceWrapper(PT_SET_EVENT_MASK, GetID(), &events, sizeof(events)); in SetupTrace()
972 Status error = PtraceWrapper(PT_GETNUMLWPS, GetID(), nullptr, 0, &num_lwps); in ReinitializeThreads()
978 error = PtraceWrapper(PT_GETLWPLIST, GetID(), lwp_ids.data(), in ReinitializeThreads()
1048 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), 0); in MonitorClone()
1051 "unable to resume parent process {1}: {0}", GetID()); in MonitorClone()
1074 error = PtraceWrapper(PT_COREDUMP, GetID(), &pc, sizeof(pc)); in SaveCore()