Lines Matching refs:GetID
258 SetCurrentThreadID(m_threads.front()->GetID()); in MonitorSIGTRAP()
265 if (t->GetID() == static_cast<lldb::tid_t>(info.pl_lwpid)) in MonitorSIGTRAP()
306 m_threads_stepping_with_breakpoint.find(thread->GetID()); in MonitorSIGTRAP()
317 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
339 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
345 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
378 static_cast<lldb::tid_t>(info.pl_lwpid) == thread.GetID()) { in MonitorSignal()
380 SetCurrentThreadID(thread.GetID()); in MonitorSignal()
434 LLDB_LOG(log, "pid {0}", GetID()); in Resume()
445 resume_actions.GetActionForThread(thread.GetID(), true); in Resume()
448 ResumeAction suspend_action{thread.GetID(), eStateSuspended, in Resume()
452 LLDB_LOG(log, "no action specified for pid {0} tid {1}", GetID(), in Resume()
453 thread.GetID()); in Resume()
460 action->state, action->signal, GetID(), thread.GetID()); in Resume()
481 __FUNCTION__, StateAsCString(action->state), GetID(), thread.GetID()); in Resume()
491 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), signal); in Resume()
504 if (kill(GetID(), SIGSTOP) != 0) in Halt()
516 if (GetID() == LLDB_INVALID_PROCESS_ID) in Detach()
519 return PtraceWrapper(PT_DETACH, GetID()); in Detach()
525 if (kill(GetID(), signo)) in Signal()
535 LLDB_LOG(log, "pid {0}", GetID()); in Kill()
546 LLDB_LOG(log, "ignored for PID {0} due to current state: {1}", GetID(), in Kill()
693 m_mem_region_cache.size(), GetID()); in PopulateMemoryRegionCache()
751 llvm::sys::RetryAfterSignal(-1, waitpid, GetID(), &status, WNOHANG); in SigchldHandler()
758 LLDB_LOG(log, "waitpid ({0}, &status, _) failed: {1}", GetID(), error); in SigchldHandler()
765 wait_pid == static_cast<::pid_t>(GetID())); in SigchldHandler()
769 GetID(), wait_pid, status, exited); in SigchldHandler()
782 if (thread->GetID() == thread_id) { in HasThreadNoLock()
794 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
810 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
817 if ((*it)->GetID() == thread_id) { in RemoveThread()
824 SetCurrentThreadID(m_threads.front()->GetID()); in RemoveThread()
851 SetCurrentThreadID(m_threads.front()->GetID()); in Attach()
872 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in ReadMemory()
901 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in WriteMemory()
914 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_AUXV, static_cast<int>(GetID())}; in GetAuxvData()
929 PtraceWrapper(PT_GET_EVENT_MASK, GetID(), &events, sizeof(events)); in SetupTrace()
933 status = PtraceWrapper(PT_SET_EVENT_MASK, GetID(), &events, sizeof(events)); in SetupTrace()
945 Status error = PtraceWrapper(PT_GETNUMLWPS, GetID(), nullptr, 0, &num_lwps); in ReinitializeThreads()
951 error = PtraceWrapper(PT_GETLWPLIST, GetID(), lwp_ids.data(), in ReinitializeThreads()
1021 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), 0); in MonitorClone()
1024 "unable to resume parent process {1}: {0}", GetID()); in MonitorClone()
1047 error = PtraceWrapper(PT_COREDUMP, GetID(), &pc, sizeof(pc)); in SaveCore()