Lines Matching refs:GetID
256 SetCurrentThreadID(m_threads.front()->GetID()); in MonitorSIGTRAP()
263 if (t->GetID() == static_cast<lldb::tid_t>(info.pl_lwpid)) in MonitorSIGTRAP()
304 m_threads_stepping_with_breakpoint.find(thread->GetID()); in MonitorSIGTRAP()
315 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
337 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
343 SetCurrentThreadID(thread->GetID()); in MonitorSIGTRAP()
376 static_cast<lldb::tid_t>(info.pl_lwpid) == thread.GetID()) { in MonitorSignal()
378 SetCurrentThreadID(thread.GetID()); in MonitorSignal()
432 LLDB_LOG(log, "pid {0}", GetID()); in Resume()
443 resume_actions.GetActionForThread(thread.GetID(), true); in Resume()
446 ResumeAction suspend_action{thread.GetID(), eStateSuspended, in Resume()
450 LLDB_LOG(log, "no action specified for pid {0} tid {1}", GetID(), in Resume()
451 thread.GetID()); in Resume()
458 action->state, action->signal, GetID(), thread.GetID()); in Resume()
479 __FUNCTION__, StateAsCString(action->state), GetID(), thread.GetID()); in Resume()
489 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), signal); in Resume()
502 if (kill(GetID(), SIGSTOP) != 0) in Halt()
514 if (GetID() == LLDB_INVALID_PROCESS_ID) in Detach()
517 return PtraceWrapper(PT_DETACH, GetID()); in Detach()
523 if (kill(GetID(), signo)) in Signal()
533 LLDB_LOG(log, "pid {0}", GetID()); in Kill()
544 LLDB_LOG(log, "ignored for PID {0} due to current state: {1}", GetID(), in Kill()
691 m_mem_region_cache.size(), GetID()); in PopulateMemoryRegionCache()
749 llvm::sys::RetryAfterSignal(-1, waitpid, GetID(), &status, WNOHANG); in SigchldHandler()
756 LLDB_LOG(log, "waitpid ({0}, &status, _) failed: {1}", GetID(), error); in SigchldHandler()
763 wait_pid == static_cast<::pid_t>(GetID())); in SigchldHandler()
767 GetID(), wait_pid, status, exited); in SigchldHandler()
780 if (thread->GetID() == thread_id) { in HasThreadNoLock()
792 LLDB_LOG(log, "pid {0} adding thread with tid {1}", GetID(), thread_id); in AddThread()
808 LLDB_LOG(log, "pid {0} removing thread with tid {1}", GetID(), thread_id); in RemoveThread()
815 if ((*it)->GetID() == thread_id) { in RemoveThread()
822 SetCurrentThreadID(m_threads.front()->GetID()); in RemoveThread()
849 SetCurrentThreadID(m_threads.front()->GetID()); in Attach()
870 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in ReadMemory()
899 Status error = NativeProcessFreeBSD::PtraceWrapper(PT_IO, GetID(), &io); in WriteMemory()
912 int mib[4] = {CTL_KERN, KERN_PROC, KERN_PROC_AUXV, static_cast<int>(GetID())}; in GetAuxvData()
927 PtraceWrapper(PT_GET_EVENT_MASK, GetID(), &events, sizeof(events)); in SetupTrace()
931 status = PtraceWrapper(PT_SET_EVENT_MASK, GetID(), &events, sizeof(events)); in SetupTrace()
943 Status error = PtraceWrapper(PT_GETNUMLWPS, GetID(), nullptr, 0, &num_lwps); in ReinitializeThreads()
949 error = PtraceWrapper(PT_GETLWPLIST, GetID(), lwp_ids.data(), in ReinitializeThreads()
1019 PtraceWrapper(PT_CONTINUE, GetID(), reinterpret_cast<void *>(1), 0); in MonitorClone()
1022 "unable to resume parent process {1}: {0}", GetID()); in MonitorClone()
1045 error = PtraceWrapper(PT_COREDUMP, GetID(), &pc, sizeof(pc)); in SaveCore()