/openbsd/gnu/llvm/lldb/source/Plugins/Process/Linux/ |
H A D | NativeProcessLinux.cpp | 431 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorCallback() 473 GetID(), thread.GetID()); in MonitorCallback() 516 const bool is_main_thread = (thread.GetID() == GetID()); in MonitorSIGTRAP() 554 return t->GetID() != GetID(); in MonitorSIGTRAP() 688 info.si_code, GetID(), thread.GetID()); in MonitorSIGTRAP() 696 info.si_code, GetID(), thread.GetID()); in MonitorSIGTRAP() 768 LLDB_LOG(log, "pid {0} tid {1}, thread stopped", GetID(), thread.GetID()); in MonitorSignal() 806 GetID(), thread.GetID(), thread_state); in MonitorSignal() 931 action->state, GetID(), thread->GetID()); in Resume() 943 __FUNCTION__, GetID(), thread->GetID(), in Resume() [all …]
|
H A D | NativeRegisterContextLinux.cpp | 99 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 D | NativeThreadLinux.cpp | 104 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/gnu/llvm/lldb/source/Plugins/Process/OpenBSD/ |
H A D | NativeProcessOpenBSD.cpp | 236 LLDB_LOG(log, "pid {0}", GetID()); in Resume() 244 thread->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() 311 return PtraceWrapper(PT_DETACH, GetID()); in Detach() 317 if (kill(GetID(), signo)) in Signal() 325 LLDB_LOG(log, "pid {0}", GetID()); in Kill() 351 if (kill(GetID(), SIGKILL) != 0) { in Kill() 425 GetID(), wait_pid, status, exited); in SigchldHandler() [all …]
|
H A D | NativeRegisterContextOpenBSD.cpp | 63 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/gnu/llvm/lldb/source/Plugins/Process/FreeBSD/ |
H A D | NativeProcessFreeBSD.cpp | 380 SetCurrentThreadID(thread.GetID()); in MonitorSignal() 434 LLDB_LOG(log, "pid {0}", 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() 504 if (kill(GetID(), SIGSTOP) != 0) in Halt() 516 if (GetID() == LLDB_INVALID_PROCESS_ID) in Detach() 525 if (kill(GetID(), signo)) in Signal() 535 LLDB_LOG(log, "pid {0}", GetID()); in Kill() 782 if (thread->GetID() == thread_id) { in HasThreadNoLock() [all …]
|
H A D | NativeThreadFreeBSD.cpp | 45 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 D | NativeRegisterContextFreeBSD_arm64.cpp | 74 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/gnu/llvm/lldb/source/Plugins/Process/NetBSD/ |
H A D | NativeProcessNetBSD.cpp | 433 signaled_lwp = thread->GetID(); in ComputeSignalInfo() 463 LLDB_LOG(log, "pid {0}", GetID()); in Resume() 485 thread.GetID()); in Resume() 492 action->state, action->signal, GetID(), thread.GetID()); in Resume() 513 thread.GetID()); in Resume() 554 if (kill(GetID(), signo)) in Signal() 566 LLDB_LOG(log, "pid {0}", GetID()); in Kill() 592 if (kill(GetID(), SIGKILL) != 0) { in Kill() 668 vm = kinfo_getvmmap(GetID(), &count); in PopulateMemoryRegionCache() 809 if (thread->GetID() == thread_id) { in HasThreadNoLock() [all …]
|
H A D | NativeThreadNetBSD.cpp | 45 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() 70 nullptr, GetID()); in Suspend() 79 LLDB_LOG(log, "tid = {0} in called with signal {1}", GetID(), signo); in SetStoppedBySignal() [all …]
|
/openbsd/gnu/llvm/lldb/include/lldb/Utility/ |
H A D | UserID.h | 47 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/gnu/llvm/lldb/source/Plugins/Process/Windows/Common/ |
H A D | ProcessWindows.cpp | 390 site->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() 865 wp->GetID()); in EnableWatchpoint() 881 thread->GetID()); in EnableWatchpoint() 895 m_watchpoints[wp->GetID()] = info; in EnableWatchpoint() 896 m_watchpoint_ids[info.slot_id] = wp->GetID(); in EnableWatchpoint() 911 auto it = m_watchpoints.find(wp->GetID()); in DisableWatchpoint() [all …]
|
H A D | NativeProcessWindows.cpp | 101 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() 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() 471 thread->GetID(), error); in OnDebugException() [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationServerLLGS.cpp | 295 m_current_process->GetID(), in LaunchProcess() 313 m_current_process->GetID()); in LaunchProcess() 340 m_current_process->GetID()); in LaunchProcess() 368 m_current_process->GetID(), in AttachToProcess() 485 process->GetID()); in SendWResponse() 735 lldb::tid_t tid = thread.GetID(); in GetJSONThreadsInfo() 802 thread.GetID()); in PrepareStopReplyPacketForThread() 823 process.GetID(), thread.GetID(), signum, int(tid_stop_info.reason), in PrepareStopReplyPacketForThread() 831 AppendThreadIDToResponse(response, process.GetID(), thread.GetID()); in PrepareStopReplyPacketForThread() 1055 lldb::pid_t pid = process->GetID(); in HandleInferiorState_Exited() [all …]
|
/openbsd/gnu/llvm/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DynamicLoaderPOSIXDYLD.cpp | 84 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() 316 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 326 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID, in SetRendezvousBreakpoint() 372 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 374 target.RemoveBreakpointByID(dyld_break->GetID()); in SetRendezvousBreakpoint() 383 m_process ? m_process->GetID() : LLDB_INVALID_PROCESS_ID); in SetRendezvousBreakpoint() 387 m_dyld_bid = dyld_break->GetID(); in SetRendezvousBreakpoint() 798 __FUNCTION__, m_process->GetID()); in ResolveExecutableModule() [all …]
|
/openbsd/gnu/llvm/lldb/source/Commands/ |
H A D | CommandObjectThreadUtil.cpp | 44 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/gnu/llvm/lldb/source/Breakpoint/ |
H A D | BreakpointIDList.cpp | 180 &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 D | BreakpointLocation.cpp | 192 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/gnu/llvm/lldb/source/Plugins/Trace/intel-pt/ |
H A D | ThreadDecoder.cpp | 27 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/gnu/llvm/lldb/source/Target/ |
H A D | Thread.cpp | 237 static_cast<void *>(this), GetID()); in Thread() 245 static_cast<void *>(this), GetID()); in ~Thread() 463 static_cast<void *>(this), GetID(), in SetStopInfo() 989 GetID(), eVoteNoOpinion); in ShouldReportStop() 998 GetID(), eVoteNoOpinion); in ShouldReportStop() 1006 GetID(), eVoteNoOpinion); in ShouldReportStop() 1016 GetID()); in ShouldReportStop() 1034 GetID(), thread_vote); in ShouldReportStop() 1233 GetID(), force); in DiscardThreadPlans() 1465 frame_idx, GetID()); in ReturnFromFrameWithIndex() [all …]
|
H A D | ThreadList.cpp | 113 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/gnu/llvm/lldb/source/Host/common/ |
H A D | NativeProcessProtocol.cpp | 110 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/gnu/llvm/lldb/source/Symbol/ |
H A D | Block.cpp | 74 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 D | TypeMap.cpp | 31 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/gnu/llvm/lldb/source/Plugins/OperatingSystem/Python/ |
H A D | OperatingSystemPython.cpp | 124 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()
|