Home
last modified time | relevance | path

Searched refs:GetID (Results 1 – 25 of 211) sorted by relevance

123456789

/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Linux/
H A DNativeProcessLinux.cpp431 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorCallback()
438 status, thread.GetID(), is_main_thread ? "is" : "is not", in MonitorCallback()
449 const auto info_err = GetSignalInfo(thread.GetID(), &info); in MonitorCallback()
473 GetID(), thread.GetID()); in MonitorCallback()
487 thread.GetID(), info_err, status, is_main_thread); in MonitorCallback()
516 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorSIGTRAP()
530 if (GetEventMessage(thread.GetID(), &event_message).Fail()) { in MonitorSIGTRAP()
534 thread.GetID()); in MonitorSIGTRAP()
554 return t->GetID() != GetID(); in MonitorSIGTRAP()
559 SetCurrentThreadID(main_thread->GetID()); in MonitorSIGTRAP()
[all …]
H A DNativeRegisterContextLinux.cpp99 PTRACE_GETREGS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize()); in ReadGPR()
104 PTRACE_SETREGS, m_thread.GetID(), nullptr, GetGPRBuffer(), GetGPRSize()); in WriteGPR()
108 return NativeProcessLinux::PtraceWrapper(PTRACE_GETFPREGS, m_thread.GetID(), in ReadFPR()
114 return NativeProcessLinux::PtraceWrapper(PTRACE_SETFPREGS, m_thread.GetID(), in WriteFPR()
121 return NativeProcessLinux::PtraceWrapper(PTRACE_GETREGSET, m_thread.GetID(), in ReadRegisterSet()
128 return NativeProcessLinux::PtraceWrapper(PTRACE_SETREGSET, m_thread.GetID(), in WriteRegisterSet()
141 PTRACE_PEEKUSER, m_thread.GetID(), reinterpret_cast<void *>(offset), in DoReadRegisterValue()
160 PTRACE_POKEUSER, m_thread.GetID(), reinterpret_cast<void *>(offset), buf); in DoWriteRegisterValue()
H A DNativeThreadLinux.cpp104 auto BufferOrError = getProcFile(process.GetID(), GetID(), "comm"); in GetName()
144 __FUNCTION__, GetID(), StateAsCString(m_state)); in GetStopReason()
249 return NativeProcessLinux::PtraceWrapper(PTRACE_CONT, GetID(), nullptr, in Resume()
503 lldb::pid_t pid = process.GetID(); in RequestStop()
504 lldb::tid_t tid = GetID(); in RequestStop()
536 m_process.GetID(), GetID(), old_state, new_state); in MaybeLogStateChange()
552 GetProcess().GetSignalInfo(GetID(), siginfo_buf->getBufferStart()); in GetSiginfo()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/
H A DNativeProcessOpenBSD.cpp236 LLDB_LOG(log, "pid {0}", GetID()); in Resume()
240 resume_actions.GetActionForThread(thread->GetID(), true); in Resume()
243 LLDB_LOG(log, "no action specified for pid {0} tid {1}", GetID(), in Resume()
244 thread->GetID()); in Resume()
254 error = NativeProcessOpenBSD::PtraceWrapper(PT_CONTINUE, GetID(), (void *)1, in Resume()
266 error = NativeProcessOpenBSD::PtraceWrapper(PT_STEP, GetID(), (void *)1, in Resume()
285 __FUNCTION__, StateAsCString(action->state), GetID(), in Resume()
286 thread->GetID()); in Resume()
295 if (kill(GetID(), SIGSTOP) != 0) in Halt()
308 if (GetID() == LLDB_INVALID_PROCESS_ID) in Detach()
[all …]
H A DNativeRegisterContextOpenBSD.cpp63 m_thread.GetID()); in DoReadGPR()
72 m_thread.GetID()); in DoWriteGPR()
81 m_thread.GetID()); in DoReadFPR()
90 m_thread.GetID()); in DoWriteFPR()
101 return GetProcess().GetID(); in GetProcessPid()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp258 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()
[all …]
H A DNativeThreadFreeBSD.cpp45 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_RESUME, GetID()); in Resume()
48 ret = NativeProcessFreeBSD::PtraceWrapper(PT_CLEARSTEP, GetID()); in Resume()
60 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_RESUME, GetID()); in SingleStep()
63 ret = NativeProcessFreeBSD::PtraceWrapper(PT_SETSTEP, GetID()); in SingleStep()
70 Status ret = NativeProcessFreeBSD::PtraceWrapper(PT_SUSPEND, GetID()); in Suspend()
79 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); in SetStoppedBySignal()
188 static_cast<int>(GetProcess().GetID())}; in GetName()
201 GetID(), m_state, strerror(errno)); in GetName()
208 if (procinfo.ki_tid == static_cast<lwpid_t>(GetID())) in GetName()
240 LLDB_LOG(log, "tid = {0} in state {1} cannot answer stop reason", GetID(), in GetStopReason()
[all …]
H A DNativeRegisterContextFreeBSD_arm64.cpp74 return NativeProcessFreeBSD::PtraceWrapper(PT_GETREGS, m_thread.GetID(), in ReadRegisterSet()
78 PT_GETFPREGS, m_thread.GetID(), in ReadRegisterSet()
87 return NativeProcessFreeBSD::PtraceWrapper(PT_SETREGS, m_thread.GetID(), in WriteRegisterSet()
91 PT_SETFPREGS, m_thread.GetID(), in WriteRegisterSet()
237 m_thread.GetID(), &m_dbreg); in ReadHardwareDebugInfo()
272 return NativeProcessFreeBSD::PtraceWrapper(PT_SETDBREGS, m_thread.GetID(), in WriteHardwareDebugRegs()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/NetBSD/
H A DNativeProcessNetBSD.cpp228 if (t->GetID() == static_cast<lldb::tid_t>(info.psi_lwpid)) { in MonitorSIGTRAP()
376 static_cast<lldb::tid_t>(info.psi_lwpid) == thread.GetID()) in MonitorSignal()
423 resume_actions.GetActionForThread(thread->GetID(), true); in ComputeSignalInfo()
433 signaled_lwp = thread->GetID(); in ComputeSignalInfo()
463 LLDB_LOG(log, "pid {0}", GetID()); in Resume()
477 resume_actions.GetActionForThread(thread.GetID(), true); in Resume()
480 ResumeAction suspend_action{thread.GetID(), eStateSuspended, in Resume()
484 LLDB_LOG(log, "no action specified for pid {0} tid {1}", GetID(), in Resume()
485 thread.GetID()); in Resume()
492 action->state, action->signal, GetID(), thread.GetID()); in Resume()
[all …]
H A DNativeThreadNetBSD.cpp45 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in Resume()
46 nullptr, GetID()); in Resume()
49 ret = NativeProcessNetBSD::PtraceWrapper(PT_CLEARSTEP, m_process.GetID(), in Resume()
50 nullptr, GetID()); in Resume()
57 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_RESUME, m_process.GetID(), in SingleStep()
58 nullptr, GetID()); in SingleStep()
61 ret = NativeProcessNetBSD::PtraceWrapper(PT_SETSTEP, m_process.GetID(), in SingleStep()
62 nullptr, GetID()); in SingleStep()
69 Status ret = NativeProcessNetBSD::PtraceWrapper(PT_SUSPEND, m_process.GetID(), in Suspend()
70 nullptr, GetID()); in Suspend()
[all …]
/openbsd-src/gnu/llvm/lldb/include/lldb/Utility/
H A DUserID.h47 lldb::user_id_t GetID() const { return m_uid; } in GetID() function
68 bool operator()(const UserID &rhs) const { return m_uid == rhs.GetID(); } in operator()
81 return lhs.GetID() == rhs.GetID();
85 return lhs.GetID() != rhs.GetID();
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/
H A DProcessWindows.cpp147 bp_site->GetID(), bp_site->GetLoadAddress()); in EnableBreakpointSite()
158 bp_site->GetID(), bp_site->GetLoadAddress()); in DisableBreakpointSite()
180 GetID(), private_state); in DoDetach()
390 site->GetID()); in RefreshStateAfterStop()
392 site->GetID()); in RefreshStateAfterStop()
419 LLDB_LOG(log, "single stepping thread {0}", stop_thread->GetID()); in RefreshStateAfterStop()
459 site->GetID()); in RefreshStateAfterStop()
465 site->GetID(), stop_thread->GetID()); in RefreshStateAfterStop()
468 *stop_thread, site->GetID()); in RefreshStateAfterStop()
474 site->GetID()); in RefreshStateAfterStop()
[all …]
H A DNativeProcessWindows.cpp101 resume_actions.GetActionForThread(thread->GetID(), true); in Resume()
126 __FUNCTION__, StateAsCString(action->state), GetID(), in Resume()
127 thread->GetID()); in Resume()
182 GetID(), state); in Detach()
252 SetCurrentThreadID(thread.GetID()); in SetStopReasonForThread()
342 AutoHandle snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, GetID())); in CacheLoadedModules()
381 module_file_spec.GetPath().c_str(), GetID()); in GetLoadedModuleFileSpec()
401 file_spec.GetPath().c_str(), GetID()); in GetFileLoadAddress()
406 LLDB_LOG(log, "Process {0} exited with code {1}", GetID(), exit_code); in OnExitProcess()
425 if (GetID() == LLDB_INVALID_PROCESS_ID) in OnDebuggerConnected()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServerLLGS.cpp295 m_current_process->GetID(), in LaunchProcess()
313 m_current_process->GetID()); in LaunchProcess()
335 m_current_process->GetID()); in LaunchProcess()
340 m_current_process->GetID()); in LaunchProcess()
356 pid, m_current_process->GetID()); in AttachToProcess()
368 m_current_process->GetID(), in AttachToProcess()
470 __FUNCTION__, process->GetID(), in InitializeDelegate()
485 process->GetID()); in SendWResponse()
493 LLDB_LOG(log, "pid = {0}, returning exit type {1}", process->GetID(), in SendWResponse()
497 if (bool(m_debugged_processes.at(process->GetID()).flags & in SendWResponse()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/
H A DDynamicLoaderPOSIXDYLD.cpp84 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
89 __FUNCTION__, m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
101 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach()
135 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in DidAttach()
153 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in DidAttach()
228 __FUNCTION__, m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in ProbeEntry()
237 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, entry); in ProbeEntry()
268 dyld_instance->m_process ? dyld_instance->m_process->GetID() in EntryBreakpointHit()
284 __FUNCTION__, dyld_instance->m_process->GetID(), break_id); in EntryBreakpointHit()
290 __FUNCTION__, dyld_instance->m_process->GetID(), break_id); in EntryBreakpointHit()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Commands/
H A DCommandObjectThreadUtil.cpp44 if (!thread || !HandleOneThread(thread->GetID(), result)) in DoExecute()
61 tids.push_back(thread_sp->GetID()); in DoExecute()
86 tids.push_back(thread->GetID()); in DoExecute()
116 if (!HandleOneThread(thread->GetID(), result)) { in DoExecute()
182 tids.push_back(thread_sp->GetID()); in DoExecute()
186 tids.push_back(thread.GetID()); in DoExecute()
205 tids.push_back(thread->GetID()); in DoExecute()
/openbsd-src/gnu/llvm/lldb/source/Breakpoint/
H A DBreakpointIDList.cpp180 &canonical_id_str, bp_id->GetBreakpointID(), bp_loc->GetID()); in FindAndReplaceIDRanges()
253 break_id_t cur_bp_id = breakpoint->GetID(); in FindAndReplaceIDRanges()
264 if ((bp_loc->GetID() >= start_loc_id) && in FindAndReplaceIDRanges()
265 (bp_loc->GetID() <= end_loc_id)) { in FindAndReplaceIDRanges()
268 bp_loc->GetID()); in FindAndReplaceIDRanges()
276 if (bp_loc->GetID() <= end_loc_id) { in FindAndReplaceIDRanges()
279 bp_loc->GetID()); in FindAndReplaceIDRanges()
313 &canonical_id_str, bkpt_sp->GetID(), LLDB_INVALID_BREAK_ID); in FindAndReplaceIDRanges()
H A DBreakpointLocation.cpp192 return m_options_up->InvokeCallback(context, m_owner.GetID(), GetID()); in InvokeCallback()
194 return m_owner.InvokeCallback(context, GetID()); in InvokeCallback()
475 process_sp->RemoveOwnerFromBreakpointSite(GetBreakpoint().GetID(), in ClearBreakpointSite()
476 GetID(), m_bp_site_sp); in ClearBreakpointSite()
478 m_bp_site_sp->RemoveOwner(GetBreakpoint().GetID(), GetID()); in ClearBreakpointSite()
495 BreakpointID::GetCanonicalReference(s, m_owner.GetID(), GetID()); in GetDescription()
638 GetID(), tid, in Dump()
/openbsd-src/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/
H A DThreadDecoder.cpp27 m_thread_sp->GetID(), [&](llvm::ArrayRef<uint8_t> data) -> llvm::Error { in FindLowestTSC()
52 return m_trace.GetThreadTimer(m_thread_sp->GetID()) in DoDecode()
58 m_thread_sp->GetID(), [&](llvm::ArrayRef<uint8_t> data) { in DoDecode()
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DThread.cpp237 static_cast<void *>(this), GetID()); in Thread()
245 static_cast<void *>(this), GetID()); in ~Thread()
463 static_cast<void *>(this), GetID(), in SetStopInfo()
756 __FUNCTION__, GetID(), GetProtocolID()); in ShouldStop()
764 __FUNCTION__, GetID(), GetProtocolID()); in ShouldStop()
776 __FUNCTION__, GetID(), GetProtocolID(), in ShouldStop()
789 __FUNCTION__, static_cast<void *>(this), GetID(), GetProtocolID(), in ShouldStop()
796 s, GetID(), eDescriptionLevelVerbose, true /* internal */, in ShouldStop()
970 s, GetID(), eDescriptionLevelVerbose, true /* internal */, in ShouldStop()
989 GetID(), eVoteNoOpinion); in ShouldReportStop()
[all …]
H A DThreadList.cpp113 if (m_threads[idx]->GetID() == tid) { in FindThreadByID()
149 if (m_threads[idx]->GetID() == tid) { in RemoveThreadByID()
349 __FUNCTION__, thread_sp->GetID()); in ShouldStop()
396 "the should report stop.", thread_sp->GetID()); in ShouldReportStop()
416 thread_sp->GetID(), vote, result); in ShouldReportStop()
462 (*pos)->GetIndexID(), (*pos)->GetID()); in ShouldReportRun()
690 m_selected_tid = m_threads[0]->GetID(); in GetSelectedThread()
715 m_selected_tid = selected_thread_sp->GetID(); in SetSelectedThreadByIndexID()
759 const lldb::tid_t tid = (*rhs_pos)->GetID(); in Update()
764 if (m_threads[idx]->GetID() == tid || in Update()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp110 if (thread->GetID() == tid) in GetThreadByIDUnlocked()
199 GetID(), unwatch_thread_sp->GetID(), remove_error); in SetWatchpoint()
279 GetID(), rollback_thread_sp->GetID(), remove_error); in SetHardwareBreakpoint()
328 GetID()); in SynchronouslyNotifyProcessStateChanged()
333 LLDB_LOG(log, "process {0} exec()ed", GetID()); in NotifyDidExec()
615 GetID(), breakpoint_addr); in FixupBreakpointPCAsNeeded()
624 LLDB_LOG(log, "pid {0} tid {1}: changing PC from {2:x} to {3:x}", GetID(), in FixupBreakpointPCAsNeeded()
625 thread.GetID(), initial_pc_addr, breakpoint_addr); in FixupBreakpointPCAsNeeded()
632 LLDB_LOG(log, "pid {0} tid {1}: failed to set PC: {2}", GetID(), in FixupBreakpointPCAsNeeded()
633 thread.GetID(), error); in FixupBreakpointPCAsNeeded()
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DBlock.cpp74 s->Printf(", parent = {0x%8.8" PRIx64 "}", parent_block->GetID()); in Dump()
113 if (block_id == GetID()) in FindBlockByID()
166 s->Printf(", Block{0x%8.8" PRIx64 "}", GetID()); in DumpSymbolContext()
356 GetID(), (uint32_t)m_ranges.GetSize(), block_start_addr, in AddRange()
357 block_end_addr, parent_block->GetID(), function->GetID(), in AddRange()
365 GetID(), (uint32_t)m_ranges.GetSize(), block_start_addr, in AddRange()
366 block_end_addr, parent_block->GetID(), function->GetID(), in AddRange()
482 return sym_file->GetDeclContextForUID(GetID()); in GetDeclContext()
H A DTypeMap.cpp31 m_types.insert(std::make_pair(type_sp->GetID(), type_sp)); in Insert()
36 user_id_t type_uid = type_sp->GetID(); in InsertUnique()
40 pos != end && pos->second->GetID() == type_uid; ++pos) { in InsertUnique()
112 lldb::user_id_t uid = type_sp->GetID(); in Remove()
/openbsd-src/gnu/llvm/lldb/source/Plugins/OperatingSystem/Python/
H A DOperatingSystemPython.cpp124 m_process->GetID()); in GetDynamicRegisterInfo()
166 m_process->GetID()); in UpdateThreadList()
314 thread->GetID(), thread->GetProtocolID(), reg_data_addr); in CreateRegisterContextForThread()
324 thread->GetID(), thread->GetProtocolID()); in CreateRegisterContextForThread()
328 thread->GetID()); in CreateRegisterContextForThread()
348 thread->GetID()); in CreateRegisterContextForThread()

123456789