|
LLDB mainline
|
#include <NativeProcessProtocol.h>
Classes | |
| class | Manager |
| class | NativeDelegate |
| struct | SoftwareBreakpoint |
Public Types | |
| enum class | Extension { multiprocess = (1u << 0) , fork = (1u << 1) , vfork = (1u << 2) , pass_signals = (1u << 3) , auxv = (1u << 4) , libraries_svr4 = (1u << 5) , memory_tagging = (1u << 6) , savecore = (1u << 7) , siginfo_read = (1u << 8) , libraries = (1u << 9) , accelerator_plugins = (1u << 10) , address_spaces = (1u << 11) , lldb_settings = (1u << 12) } |
| Extension flag constants, returned by Manager::GetSupportedExtensions() and passed to SetEnabledExtension() More... | |
| typedef std::vector< std::unique_ptr< NativeThreadProtocol > > | thread_collection |
| typedef LockingAdaptedIterable< std::recursive_mutex, thread_collection, llvm::pointee_iterator< thread_collection::const_iterator > > | ThreadIterable |
Public Member Functions | |
| virtual | ~NativeProcessProtocol ()=default |
| virtual Status | Resume (const ResumeActionList &resume_actions)=0 |
| virtual Status | Halt ()=0 |
| virtual Status | Detach ()=0 |
| virtual Status | Signal (int signo)=0 |
| Sends a process a UNIX signal signal. | |
| virtual Status | Interrupt () |
| Tells a process to interrupt all operations as if by a Ctrl-C. | |
| virtual Status | Kill ()=0 |
| virtual Status | IgnoreSignals (llvm::ArrayRef< int > signals) |
| virtual Status | GetMemoryRegionInfo (lldb::addr_t load_addr, MemoryRegionInfo &range_info) |
| virtual std::vector< AddressSpaceInfo > | GetAddressSpaces () |
| Served over the "jAddressSpacesInfo" packet. | |
| virtual Status | ReadMemory (const ProcessAddress &addr, void *buf, size_t size, size_t &bytes_read)=0 |
| Plugins without address spaces should error on a non-default one. | |
| Status | ReadMemoryWithoutTrap (const ProcessAddress &addr, void *buf, size_t size, size_t &bytes_read) |
| virtual Status | ReadMemoryTags (int32_t type, lldb::addr_t addr, size_t len, std::vector< uint8_t > &tags) |
| virtual Status | WriteMemoryTags (int32_t type, lldb::addr_t addr, size_t len, const std::vector< uint8_t > &tags) |
| llvm::Expected< llvm::StringRef > | ReadCStringFromMemory (lldb::addr_t addr, char *buffer, size_t max_size, size_t &total_bytes_read) |
| Reads a null-terminated string from memory. | |
| Status | WriteMemory (lldb::addr_t addr, const void *buf, size_t size, size_t &bytes_written) |
| Write memory while not overwriting breakpoints in memory. | |
| virtual llvm::Expected< lldb::addr_t > | AllocateMemory (size_t size, uint32_t permissions) |
| virtual llvm::Error | DeallocateMemory (lldb::addr_t addr) |
| virtual lldb::addr_t | GetSharedLibraryInfoAddress ()=0 |
| virtual llvm::Expected< std::vector< SVR4LibraryInfo > > | GetLoadedSVR4Libraries () |
| virtual llvm::Expected< std::vector< LoadedLibraryInfo > > | GetLoadedLibraries () |
| Return the currently loaded libraries of the target in the qXfer:libraries:read form (generic name + base address pairs; used on Windows, where the inferior is not SVR4 and the module list comes from the PE loader). | |
| virtual std::optional< AcceleratorDynamicLoaderResponse > | GetAcceleratorDynamicLoaderLibraryInfos (const AcceleratorDynamicLoaderArgs &args) |
| Answers "jAcceleratorPluginGetDynamicLoaderLibraryInfo" on an accelerator connection. | |
| virtual bool | HasPendingLibraryEvents () |
| virtual bool | IsAlive () const |
| virtual size_t | UpdateThreads ()=0 |
| virtual const ArchSpec & | GetArchitecture () const =0 |
| virtual Status | SetBreakpoint (lldb::addr_t addr, uint32_t size, bool hardware)=0 |
| virtual Status | RemoveBreakpoint (lldb::addr_t addr, bool hardware=false) |
| bool | HasSoftwareBreakpoint (lldb::addr_t addr) |
| virtual const HardwareBreakpointMap & | GetHardwareBreakpointMap () const |
| virtual Status | SetHardwareBreakpoint (lldb::addr_t addr, size_t size) |
| virtual Status | RemoveHardwareBreakpoint (lldb::addr_t addr) |
| virtual const NativeWatchpointList::WatchpointMap & | GetWatchpointMap () const |
| virtual std::optional< std::pair< uint32_t, uint32_t > > | GetHardwareDebugSupportInfo () const |
| virtual Status | SetWatchpoint (lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware) |
| virtual Status | RemoveWatchpoint (lldb::addr_t addr) |
| lldb::pid_t | GetID () const |
| lldb::StateType | GetState () const |
| bool | IsRunning () const |
| bool | IsStepping () const |
| bool | CanResume () const |
| lldb::ByteOrder | GetByteOrder () const |
| uint32_t | GetAddressByteSize () const |
| virtual llvm::ErrorOr< std::unique_ptr< llvm::MemoryBuffer > > | GetAuxvData () const =0 |
| virtual std::optional< WaitStatus > | GetExitStatus () |
| virtual bool | SetExitStatus (WaitStatus status, bool bNotifyStateChange) |
| NativeThreadProtocol * | GetThreadAtIndex (uint32_t idx) |
| NativeThreadProtocol * | GetThreadByID (lldb::tid_t tid) |
| void | SetCurrentThreadID (lldb::tid_t tid) |
| lldb::tid_t | GetCurrentThreadID () const |
| NativeThreadProtocol * | GetCurrentThread () |
| ThreadIterable | Threads () const |
| virtual int | GetTerminalFileDescriptor () |
| virtual size_t | WriteStdin (const void *buf, size_t len, Status &error) |
Write up to len bytes from buf to the inferior's stdin. | |
| uint32_t | GetStopID () const |
| virtual Status | GetLoadedModuleFileSpec (const char *module_path, FileSpec &file_spec)=0 |
| virtual Status | GetFileLoadAddress (const llvm::StringRef &file_name, lldb::addr_t &load_addr)=0 |
| virtual void | NotifyTracersProcessWillResume () |
| Notify tracers that the target process will resume. | |
| virtual void | NotifyTracersProcessDidStop () |
| Notify tracers that the target process just stopped. | |
| virtual llvm::Error | TraceStart (llvm::StringRef json_params, llvm::StringRef type) |
| Start tracing a process or its threads. | |
| virtual llvm::Error | TraceStop (const TraceStopRequest &request) |
| Stop tracing a live process or its threads. | |
| virtual llvm::Expected< llvm::json::Value > | TraceGetState (llvm::StringRef type) |
| Get the current tracing state of the process and its threads. | |
| virtual llvm::Expected< std::vector< uint8_t > > | TraceGetBinaryData (const TraceGetBinaryDataRequest &request) |
| Get binary data given a trace technology and a data identifier. | |
| virtual llvm::Expected< TraceSupportedResponse > | TraceSupported () |
| Get the processor tracing type supported for this process. | |
| virtual void | SetEnabledExtensions (Extension flags) |
| Method called in order to propagate the bitmap of protocol extensions supported by the client. | |
| virtual llvm::Expected< std::string > | SaveCore (llvm::StringRef path_hint) |
| Write a core dump (without crashing the program). | |
| virtual std::vector< std::string > | GetStructuredDataPlugins () |
| Get the list of structured data plugins supported by this process. | |
Protected Member Functions | |
| virtual Status | DoWriteMemory (lldb::addr_t addr, const void *buf, size_t size, size_t &bytes_written)=0 |
| NativeProcessProtocol (lldb::pid_t pid, int terminal_fd, NativeDelegate &delegate) | |
| void | SetID (lldb::pid_t pid) |
| void | SetState (lldb::StateType state, bool notify_delegates=true) |
| virtual void | DoStopIDBumped (uint32_t newBumpId) |
| Status | SetSoftwareBreakpoint (lldb::addr_t addr, uint32_t size_hint) |
| Status | RemoveSoftwareBreakpoint (lldb::addr_t addr) |
| virtual llvm::Expected< llvm::ArrayRef< uint8_t > > | GetSoftwareBreakpointTrapOpcode (size_t size_hint) |
| virtual size_t | GetSoftwareBreakpointPCOffset () |
| Return the offset of the PC relative to the software breakpoint that was hit. | |
| void | FixupBreakpointPCAsNeeded (NativeThreadProtocol &thread) |
| virtual void | NotifyDidExec () |
| Notify the delegate that an exec occurred. | |
| NativeThreadProtocol * | GetThreadByIDUnlocked (lldb::tid_t tid) |
| void | SynchronouslyNotifyProcessStateChanged (lldb::StateType state) |
Notify the delegates of state. | |
Protected Attributes | |
| std::map< lldb::addr_t, SoftwareBreakpoint > | m_software_breakpoints |
| lldb::pid_t | m_pid |
| std::vector< std::unique_ptr< NativeThreadProtocol > > | m_threads |
| lldb::tid_t | m_current_thread_id = LLDB_INVALID_THREAD_ID |
| std::recursive_mutex | m_threads_mutex |
| lldb::StateType | m_state = lldb::eStateInvalid |
| std::recursive_mutex | m_state_mutex |
| std::optional< WaitStatus > | m_exit_status |
| NativeDelegate & | m_delegate |
| NativeWatchpointList | m_watchpoint_list |
| HardwareBreakpointMap | m_hw_breakpoints_map |
| int | m_terminal_fd |
| uint32_t | m_stop_id = 0 |
| llvm::DenseSet< int > | m_signals_to_ignore |
| Extension | m_enabled_extensions |
Private Member Functions | |
| llvm::Expected< SoftwareBreakpoint > | EnableSoftwareBreakpoint (lldb::addr_t addr, uint32_t size_hint) |
Definition at line 59 of file NativeProcessProtocol.h.
| typedef std::vector<std::unique_ptr<NativeThreadProtocol> > lldb_private::NativeProcessProtocol::thread_collection |
Definition at line 63 of file NativeProcessProtocol.h.
| typedef LockingAdaptedIterable< std::recursive_mutex, thread_collection, llvm::pointee_iterator<thread_collection::const_iterator> > lldb_private::NativeProcessProtocol::ThreadIterable |
Definition at line 67 of file NativeProcessProtocol.h.
|
strong |
Extension flag constants, returned by Manager::GetSupportedExtensions() and passed to SetEnabledExtension()
| Enumerator | |
|---|---|
| multiprocess | |
| fork | |
| vfork | |
| pass_signals | |
| auxv | |
| libraries_svr4 | |
| memory_tagging | |
| savecore | |
| siginfo_read | |
| libraries | |
| accelerator_plugins | |
| address_spaces | |
| lldb_settings | |
Definition at line 305 of file NativeProcessProtocol.h.
|
virtualdefault |
|
protected |
Definition at line 29 of file NativeProcessProtocol.cpp.
References lldb_private::NativeProcessProtocol::NativeDelegate::InitializeDelegate(), m_delegate, m_pid, and m_terminal_fd.
Referenced by lldb_private::NativeProcessProtocol::NativeDelegate::DidExec(), GetHardwareDebugSupportInfo(), lldb_private::NativeProcessProtocol::NativeDelegate::InitializeDelegate(), lldb_private::process_aix::NativeProcessAIX::Manager::Manager(), lldb_private::process_aix::NativeProcessAIX::NativeProcessAIX(), lldb_private::NativeProcessWindows::NativeProcessWindows(), lldb_private::NativeProcessWindows::NativeProcessWindows(), lldb_private::NativeProcessProtocol::NativeDelegate::NewProcessOutput(), lldb_private::NativeProcessProtocol::NativeDelegate::NewSubprocess(), and lldb_private::NativeProcessProtocol::NativeDelegate::ProcessStateChanged().
|
inlinevirtual |
Reimplemented in lldb_private::NativeProcessWindows, and lldb_private::process_linux::NativeProcessLinux.
Definition at line 148 of file NativeProcessProtocol.h.
|
inline |
Definition at line 229 of file NativeProcessProtocol.h.
References lldb::eStateStopped, and m_state.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::ResumeProcess().
|
inlinevirtual |
Reimplemented in lldb_private::NativeProcessWindows, and lldb_private::process_linux::NativeProcessLinux.
Definition at line 153 of file NativeProcessProtocol.h.
|
pure virtual |
|
protectedvirtual |
Reimplemented in lldb_private::NativeProcessELF.
Definition at line 850 of file NativeProcessProtocol.cpp.
Referenced by SetState().
|
protectedpure virtual |
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by EnableSoftwareBreakpoint(), RemoveSoftwareBreakpoint(), and WriteMemory().
|
private |
Definition at line 427 of file NativeProcessProtocol.cpp.
References lldb_private::Breakpoints, DoWriteMemory(), error(), lldb_private::GetLog(), GetSoftwareBreakpointTrapOpcode(), LLDB_LOG, and ReadMemory().
Referenced by SetSoftwareBreakpoint().
|
protected |
Definition at line 595 of file NativeProcessProtocol.cpp.
References lldb_private::Breakpoints, error(), GetID(), lldb_private::GetLog(), lldb_private::NativeRegisterContext::GetPCfromBreakpointLocation(), GetSoftwareBreakpointPCOffset(), LLDB_LOG, m_software_breakpoints, and lldb_private::NativeRegisterContext::SetPC().
Referenced by lldb_private::process_linux::NativeProcessLinux::MonitorBreakpoint(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGTRAP(), and lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSIGTRAP().
|
inlinevirtual |
Answers "jAcceleratorPluginGetDynamicLoaderLibraryInfo" on an accelerator connection.
std::nullopt if this process does not provide libraries.
Definition at line 177 of file NativeProcessProtocol.h.
|
inline |
Definition at line 235 of file NativeProcessProtocol.h.
References lldb_private::ArchSpec::GetAddressByteSize(), and GetArchitecture().
Referenced by lldb_private::NativeProcessELF::GetAuxValue(), lldb_private::NativeProcessELF::GetLoadedSVR4Libraries(), and lldb_private::NativeProcessELF::GetSharedLibraryInfoAddress().
|
inlinevirtual |
Served over the "jAddressSpacesInfo" packet.
Definition at line 103 of file NativeProcessProtocol.h.
|
pure virtual |
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by GetAddressByteSize(), GetByteOrder(), GetSoftwareBreakpointPCOffset(), lldb_private::NativeThreadWindows::SetSingleStepFlag(), and lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
pure virtual |
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by lldb_private::NativeProcessELF::GetAuxValue().
|
inline |
Definition at line 231 of file NativeProcessProtocol.h.
References GetArchitecture(), and lldb_private::ArchSpec::GetByteOrder().
Referenced by lldb_private::NativeProcessELF::GetAuxValue(), lldb_private::NativeRegisterContext::ReadRegisterValueFromMemory(), and lldb_private::NativeRegisterContext::WriteRegisterValueToMemory().
|
inline |
Definition at line 256 of file NativeProcessProtocol.h.
References GetThreadByID(), and m_current_thread_id.
Referenced by lldb_private::process_linux::NativeProcessLinux::GetCurrentThread(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGTRAP(), and lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSIGTRAP().
|
inline |
Definition at line 254 of file NativeProcessProtocol.h.
References m_current_thread_id.
Referenced by lldb_private::NativeProcessWindows::DeferStop(), lldb_private::process_linux::NativeProcessLinux::DoWriteMemory(), lldb_private::process_linux::NativeProcessLinux::PopulateMemoryRegionCache(), lldb_private::process_linux::NativeProcessLinux::ReadMemory(), lldb_private::process_linux::NativeProcessLinux::ReadMemoryTags(), lldb_private::process_freebsd::NativeProcessFreeBSD::RemoveThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReasonForState(), and lldb_private::process_linux::NativeProcessLinux::WriteMemoryTags().
|
virtual |
Definition at line 71 of file NativeProcessProtocol.cpp.
References lldb::eStateExited, m_exit_status, and m_state.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::HandleInferiorState_Exited(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendWResponse().
|
pure virtual |
|
virtual |
Definition at line 233 of file NativeProcessProtocol.cpp.
References m_hw_breakpoints_map.
Referenced by lldb_private::process_linux::NativeThreadLinux::Resume().
|
virtual |
Definition at line 133 of file NativeProcessProtocol.cpp.
References lldb_private::GetLog(), GetThreadAtIndex(), LLDB_LOG, NativeProcessProtocol(), lldb_private::NativeRegisterContext::NumSupportedHardwareBreakpoints(), lldb_private::NativeRegisterContext::NumSupportedHardwareWatchpoints(), and lldb_private::Process.
Referenced by SetHardwareBreakpoint().
|
inline |
Definition at line 219 of file NativeProcessProtocol.h.
References m_pid.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::AddProcessThreads(), lldb_private::process_freebsd::NativeProcessFreeBSD::AddThread(), lldb_private::process_linux::NativeProcessLinux::AddThread(), lldb_private::process_netbsd::NativeProcessNetBSD::AddThread(), lldb_private::NativeProcessWindows::CacheLoadedModules(), lldb_private::NativeProcessWindows::Detach(), lldb_private::process_freebsd::NativeProcessFreeBSD::Detach(), lldb_private::process_linux::NativeProcessLinux::Detach(), lldb_private::process_netbsd::NativeProcessNetBSD::Detach(), lldb_private::process_freebsd::NativeProcessFreeBSD::DoWriteMemory(), lldb_private::process_netbsd::NativeProcessNetBSD::DoWriteMemory(), FixupBreakpointPCAsNeeded(), lldb_private::process_aix::NativeProcessAIX::GetAuxvData(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetAuxvData(), lldb_private::process_linux::NativeProcessLinux::GetAuxvData(), lldb_private::process_netbsd::NativeProcessNetBSD::GetAuxvData(), lldb_private::NativeProcessWindows::GetFileLoadAddress(), GetJSONThreadsInfo(), lldb_private::NativeProcessWindows::GetLoadedModuleFileSpec(), lldb_private::process_linux::NativeProcessLinux::GetLoadedModuleFileSpec(), lldb_private::process_freebsd::NativeThreadFreeBSD::GetName(), lldb_private::process_linux::NativeThreadLinux::GetName(), lldb_private::process_freebsd::NativeRegisterContextFreeBSD::GetProcessPid(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::GetProcessPid(), lldb_private::process_freebsd::NativeProcessFreeBSD::Halt(), lldb_private::process_linux::NativeProcessLinux::Halt(), lldb_private::process_netbsd::NativeProcessNetBSD::Halt(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_H(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::HandleInferiorState_Exited(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::HandleInferiorState_Stopped(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::InitializeDelegate(), lldb_private::process_linux::NativeProcessLinux::Interrupt(), lldb_private::process_netbsd::NativeProcessNetBSD::Interrupt(), lldb_private::process_aix::NativeProcessAIX::Kill(), lldb_private::process_freebsd::NativeProcessFreeBSD::Kill(), lldb_private::process_linux::NativeProcessLinux::Kill(), lldb_private::process_netbsd::NativeProcessNetBSD::Kill(), lldb_private::process_linux::NativeProcessLinux::MonitorCallback(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorClone(), lldb_private::process_linux::NativeProcessLinux::MonitorClone(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorClone(), lldb_private::process_linux::NativeProcessLinux::MonitorSignal(), lldb_private::process_linux::NativeProcessLinux::MonitorSIGTRAP(), NotifyDidExec(), lldb_private::NativeProcessWindows::OnDebuggerConnected(), lldb_private::NativeProcessWindows::OnExitProcess(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), lldb_private::process_linux::NativeProcessLinux::PopulateMemoryRegionCache(), lldb_private::process_netbsd::NativeProcessNetBSD::PopulateMemoryRegionCache(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::PrepareStopReplyPacketForThread(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::ProcessStateChanged(), lldb_private::process_freebsd::NativeProcessFreeBSD::ReadMemory(), lldb_private::process_netbsd::NativeProcessNetBSD::ReadMemory(), lldb_private::process_freebsd::NativeProcessFreeBSD::ReinitializeThreads(), lldb_private::process_netbsd::NativeProcessNetBSD::ReinitializeThreads(), lldb_private::process_freebsd::NativeProcessFreeBSD::RemoveThread(), lldb_private::process_netbsd::NativeProcessNetBSD::RemoveThread(), lldb_private::process_linux::NativeThreadLinux::RequestStop(), lldb_private::NativeProcessWindows::Resume(), lldb_private::process_freebsd::NativeProcessFreeBSD::Resume(), lldb_private::process_linux::NativeProcessLinux::Resume(), lldb_private::process_netbsd::NativeProcessNetBSD::Resume(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::ResumeProcess(), lldb_private::process_freebsd::NativeProcessFreeBSD::SaveCore(), lldb_private::process_netbsd::NativeProcessNetBSD::SaveCore(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReasonForState(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendWResponse(), SetHardwareBreakpoint(), lldb_private::process_freebsd::NativeProcessFreeBSD::SetupTrace(), lldb_private::process_netbsd::NativeProcessNetBSD::SetupTrace(), SetWatchpoint(), lldb_private::process_freebsd::NativeProcessFreeBSD::SigchldHandler(), lldb_private::process_netbsd::NativeProcessNetBSD::SigchldHandler(), lldb_private::process_freebsd::NativeProcessFreeBSD::Signal(), lldb_private::process_linux::NativeProcessLinux::Signal(), lldb_private::process_netbsd::NativeProcessNetBSD::Signal(), SynchronouslyNotifyProcessStateChanged(), and lldb_private::process_linux::NativeProcessLinux::TryHandleWaitStatus().
|
inlinevirtual |
Return the currently loaded libraries of the target in the qXfer:libraries:read form (generic name + base address pairs; used on Windows, where the inferior is not SVR4 and the module list comes from the PE loader).
Reimplemented in lldb_private::NativeProcessWindows.
Definition at line 169 of file NativeProcessProtocol.h.
|
inlinevirtual |
Reimplemented in lldb_private::NativeProcessELF.
Definition at line 160 of file NativeProcessProtocol.h.
|
virtual |
Reimplemented in lldb_private::NativeProcessWindows, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Definition at line 52 of file NativeProcessProtocol.cpp.
References lldb_private::Status::FromErrorString().
|
pure virtual |
|
protectedvirtual |
Return the offset of the PC relative to the software breakpoint that was hit.
If an architecture (e.g. arm) reports breakpoint hits before incrementing the PC, this offset will be 0. If an architecture (e.g. intel) reports breakpoints hits after incrementing the PC, this offset will be the size of the breakpoint opcode.
Reimplemented in lldb_private::NativeProcessWindows.
Definition at line 565 of file NativeProcessProtocol.cpp.
References GetArchitecture(), and GetSoftwareBreakpointTrapOpcode().
Referenced by FixupBreakpointPCAsNeeded().
|
protectedvirtual |
Reimplemented in lldb_private::NativeProcessWindows, lldb_private::process_freebsd::NativeProcessFreeBSD, and lldb_private::process_linux::NativeProcessLinux.
Definition at line 505 of file NativeProcessProtocol.cpp.
Referenced by EnableSoftwareBreakpoint(), GetSoftwareBreakpointPCOffset(), lldb_private::NativeProcessWindows::GetSoftwareBreakpointTrapOpcode(), lldb_private::process_freebsd::NativeProcessFreeBSD::GetSoftwareBreakpointTrapOpcode(), and lldb_private::process_linux::NativeProcessLinux::GetSoftwareBreakpointTrapOpcode().
| lldb::StateType NativeProcessProtocol::GetState | ( | ) | const |
Definition at line 816 of file NativeProcessProtocol.cpp.
References m_state, and m_state_mutex.
Referenced by lldb_private::NativeProcessWindows::DeferStop(), lldb_private::NativeProcessWindows::Detach(), lldb_private::NativeProcessWindows::Halt(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::InitializeDelegate(), lldb_private::NativeProcessWindows::IsAlive(), lldb_private::NativeProcessWindows::Kill(), lldb_private::process_linux::NativeProcessLinux::MonitorCallback(), lldb_private::NativeProcessWindows::OnCreateThread(), lldb_private::NativeProcessWindows::Resume(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::ResumeProcess().
| uint32_t NativeProcessProtocol::GetStopID | ( | ) | const |
Definition at line 845 of file NativeProcessProtocol.cpp.
References m_state_mutex, and m_stop_id.
|
inlinevirtual |
Get the list of structured data plugins supported by this process.
They must match the type field used by the corresponding StructuredDataPlugins in the client.
Definition at line 470 of file NativeProcessProtocol.h.
|
inlinevirtual |
Definition at line 265 of file NativeProcessProtocol.h.
References m_terminal_fd.
| NativeThreadProtocol * NativeProcessProtocol::GetThreadAtIndex | ( | uint32_t | idx | ) |
Definition at line 101 of file NativeProcessProtocol.cpp.
References m_threads, and m_threads_mutex.
Referenced by GetHardwareDebugSupportInfo().
| NativeThreadProtocol * NativeProcessProtocol::GetThreadByID | ( | lldb::tid_t | tid | ) |
Definition at line 117 of file NativeProcessProtocol.cpp.
References GetThreadByIDUnlocked(), and m_threads_mutex.
Referenced by GetCurrentThread(), lldb_private::NativeProcessWindows::GetThreadByID(), lldb_private::process_linux::NativeProcessLinux::GetThreadByID(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SendStopReplyPacketForThread().
|
protected |
Definition at line 109 of file NativeProcessProtocol.cpp.
References m_threads.
Referenced by GetThreadByID().
|
virtual |
Definition at line 128 of file NativeProcessProtocol.cpp.
References m_watchpoint_list.
Referenced by lldb_private::NativeProcessWindows::OnCreateThread(), and lldb_private::process_linux::NativeThreadLinux::Resume().
|
pure virtual |
|
inlinevirtual |
Reimplemented in lldb_private::NativeProcessWindows.
Definition at line 182 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::PrepareStopReplyPacketForThread().
|
inline |
Definition at line 196 of file NativeProcessProtocol.h.
References m_software_breakpoints.
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
virtual |
Reimplemented in lldb_private::NativeProcessWindows.
Definition at line 45 of file NativeProcessProtocol.cpp.
References m_signals_to_ignore, and lldb_private::Status.
|
virtual |
Tells a process to interrupt all operations as if by a Ctrl-C.
The default implementation will send a local host's equivalent of a SIGSTOP to the process via the NativeProcessProtocol::Signal() operation.
Reimplemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Definition at line 35 of file NativeProcessProtocol.cpp.
References error(), lldb_private::Status::FromErrorString(), Signal(), and SIGSTOP.
|
virtual |
Reimplemented in lldb_private::NativeProcessWindows.
Definition at line 122 of file NativeProcessProtocol.cpp.
References lldb::eStateDetached, lldb::eStateExited, lldb::eStateInvalid, lldb::eStateUnloaded, and m_state.
|
inline |
Definition at line 223 of file NativeProcessProtocol.h.
References lldb::eStateRunning, IsStepping(), and m_state.
|
inline |
Definition at line 227 of file NativeProcessProtocol.h.
References lldb::eStateStepping, and m_state.
Referenced by IsRunning().
|
pure virtual |
|
protectedvirtual |
Notify the delegate that an exec occurred.
Provide a mechanism for a delegate to clear out any exec- sensitive data.
Reimplemented in lldb_private::NativeProcessELF.
Definition at line 333 of file NativeProcessProtocol.cpp.
References GetID(), lldb_private::GetLog(), LLDB_LOG, m_delegate, m_software_breakpoints, and lldb_private::Process.
Referenced by lldb_private::NativeProcessELF::NotifyDidExec().
|
inlinevirtual |
Notify tracers that the target process just stopped.
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 388 of file NativeProcessProtocol.h.
Referenced by SynchronouslyNotifyProcessStateChanged().
|
inlinevirtual |
Notify tracers that the target process will resume.
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 385 of file NativeProcessProtocol.h.
| llvm::Expected< llvm::StringRef > NativeProcessProtocol::ReadCStringFromMemory | ( | lldb::addr_t | addr, |
| char * | buffer, | ||
| size_t | max_size, | ||
| size_t & | total_bytes_read ) |
Reads a null-terminated string from memory.
Reads up to max_size bytes of memory until it finds a '\0'. If a '\0' is not found then it reads max_size-1 bytes as a string and a '\0' is added as the last character of the buffer.
| [in] | addr | The address in memory to read from. |
| [in] | buffer | An allocated buffer with at least max_size size. |
| [in] | max_size | The maximum number of bytes to read from memory until it reads the string. |
| [out] | total_bytes_read | The number of bytes read from memory into buffer. |
buffer passed in. Definition at line 765 of file NativeProcessProtocol.cpp.
References lldb_private::Status::Clear(), ReadMemory(), lldb_private::Status::Success(), and lldb_private::Status::ToError().
Referenced by lldb_private::NativeProcessELF::ReadSVR4LibraryInfo().
|
pure virtual |
Plugins without address spaces should error on a non-default one.
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by EnableSoftwareBreakpoint(), lldb_private::NativeProcessELF::GetELFImageInfoAddress(), lldb_private::NativeProcessELF::GetLoadedSVR4Libraries(), ReadCStringFromMemory(), ReadMemoryCallback(), ReadMemoryWithoutTrap(), lldb_private::NativeRegisterContext::ReadRegisterValueFromMemory(), lldb_private::NativeProcessELF::ReadSVR4LibraryInfo(), and RemoveSoftwareBreakpoint().
|
virtual |
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 59 of file NativeProcessProtocol.cpp.
References lldb_private::Status::FromErrorString().
| Status NativeProcessProtocol::ReadMemoryWithoutTrap | ( | const ProcessAddress & | addr, |
| void * | buf, | ||
| size_t | size, | ||
| size_t & | bytes_read ) |
Definition at line 736 of file NativeProcessProtocol.cpp.
References error(), lldb_private::ProcessAddress::GetValue(), m_software_breakpoints, ReadMemory(), and lldb_private::Status.
|
virtual |
Reimplemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, and lldb_private::process_linux::NativeProcessLinux.
Definition at line 645 of file NativeProcessProtocol.cpp.
References RemoveHardwareBreakpoint(), and RemoveSoftwareBreakpoint().
Referenced by lldb_private::process_aix::NativeProcessAIX::RemoveBreakpoint(), and lldb_private::process_linux::NativeProcessLinux::RemoveBreakpoint().
|
virtual |
Definition at line 295 of file NativeProcessProtocol.cpp.
References error(), m_hw_breakpoints_map, m_threads, m_threads_mutex, and UpdateThreads().
Referenced by RemoveBreakpoint(), lldb_private::NativeProcessWindows::RemoveBreakpoint(), lldb_private::process_aix::NativeProcessAIX::RemoveBreakpoint(), and lldb_private::process_linux::NativeProcessLinux::RemoveBreakpoint().
|
protected |
Definition at line 358 of file NativeProcessProtocol.cpp.
References lldb_private::NativeProcessProtocol::SoftwareBreakpoint::breakpoint_opcodes, lldb_private::Breakpoints, DoWriteMemory(), error(), lldb_private::Status::FromErrorString(), lldb_private::Status::FromErrorStringWithFormat(), lldb_private::GetLog(), LLDB_LOG, m_software_breakpoints, ReadMemory(), lldb_private::NativeProcessProtocol::SoftwareBreakpoint::saved_opcodes, and lldb_private::Status.
Referenced by RemoveBreakpoint(), and lldb_private::NativeProcessWindows::RemoveBreakpoint().
|
virtual |
Definition at line 209 of file NativeProcessProtocol.cpp.
References error(), lldb_private::Status::Fail(), m_threads, m_threads_mutex, m_watchpoint_list, and UpdateThreads().
|
pure virtual |
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::ResumeProcess().
|
inlinevirtual |
Write a core dump (without crashing the program).
| [in] | path_hint | Suggested core dump path (optional, can be empty). |
Reimplemented in lldb_private::process_freebsd::NativeProcessFreeBSD, and lldb_private::process_netbsd::NativeProcessNetBSD.
Definition at line 459 of file NativeProcessProtocol.h.
|
pure virtual |
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping().
|
inline |
Definition at line 252 of file NativeProcessProtocol.h.
References m_current_thread_id.
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::AddThread(), lldb_private::process_linux::NativeProcessLinux::AddThread(), lldb_private::process_netbsd::NativeProcessNetBSD::AddThread(), lldb_private::process_freebsd::NativeProcessFreeBSD::Attach(), lldb_private::process_netbsd::NativeProcessNetBSD::Attach(), lldb_private::NativeProcessWindows::HandleBreakpointException(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSignal(), lldb_private::process_linux::NativeProcessLinux::MonitorSignal(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGTRAP(), lldb_private::process_linux::NativeProcessLinux::MonitorSIGTRAP(), lldb_private::process_aix::NativeProcessAIX::NativeProcessAIX(), lldb_private::process_linux::NativeProcessLinux::NativeProcessLinux(), lldb_private::NativeProcessWindows::OnLoadDll(), lldb_private::NativeProcessWindows::OnUnloadDll(), lldb_private::process_freebsd::NativeProcessFreeBSD::RemoveThread(), lldb_private::NativeProcessWindows::ReportDeferredStop(), lldb_private::NativeProcessWindows::SetStopReasonForThread(), and lldb_private::process_linux::NativeProcessLinux::SignalIfAllThreadsStopped().
|
inlinevirtual |
Method called in order to propagate the bitmap of protocol extensions supported by the client.
| [in] | flags | The bitmap of enabled extensions. |
Reimplemented in lldb_private::NativeProcessWindows.
Definition at line 447 of file NativeProcessProtocol.h.
References m_enabled_extensions.
Referenced by lldb_private::NativeProcessWindows::SetEnabledExtensions(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::SetEnabledExtensions().
|
virtual |
Definition at line 78 of file NativeProcessProtocol.cpp.
References lldb::eStateExited, lldb_private::GetLog(), LLDB_LOG, m_exit_status, m_state, lldb_private::Process, and SynchronouslyNotifyProcessStateChanged().
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorExited(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorExited(), lldb_private::NativeProcessWindows::OnExitProcess(), and lldb_private::process_linux::NativeProcessLinux::TryHandleWaitStatus().
|
virtual |
Definition at line 237 of file NativeProcessProtocol.cpp.
References lldb_private::Status::Fail(), lldb_private::Status::FromErrorString(), GetHardwareDebugSupportInfo(), GetID(), lldb_private::GetLog(), LLDB_LOG, m_hw_breakpoints_map, m_threads, m_threads_mutex, lldb_private::Process, lldb_private::Status, lldb_private::Status::Success(), and UpdateThreads().
Referenced by lldb_private::NativeProcessWindows::SetBreakpoint(), lldb_private::process_aix::NativeProcessAIX::SetBreakpoint(), lldb_private::process_freebsd::NativeProcessFreeBSD::SetBreakpoint(), and lldb_private::process_linux::NativeProcessLinux::SetBreakpoint().
|
inlineprotected |
Definition at line 519 of file NativeProcessProtocol.h.
References m_pid.
Referenced by lldb_private::NativeProcessWindows::NativeProcessWindows(), lldb_private::NativeProcessWindows::NativeProcessWindows(), and lldb_private::NativeProcessWindows::OnDebuggerConnected().
|
protected |
Definition at line 342 of file NativeProcessProtocol.cpp.
References lldb_private::Breakpoints, EnableSoftwareBreakpoint(), lldb_private::Status::FromError(), lldb_private::GetLog(), LLDB_LOG, m_software_breakpoints, and lldb_private::Status.
Referenced by lldb_private::NativeProcessWindows::SetBreakpoint(), lldb_private::process_aix::NativeProcessAIX::SetBreakpoint(), lldb_private::process_freebsd::NativeProcessFreeBSD::SetBreakpoint(), lldb_private::process_linux::NativeProcessLinux::SetBreakpoint(), and lldb_private::process_netbsd::NativeProcessNetBSD::SetBreakpoint().
|
protected |
Definition at line 821 of file NativeProcessProtocol.cpp.
References DoStopIDBumped(), m_state, m_state_mutex, m_stop_id, lldb_private::StateIsStoppedState(), and SynchronouslyNotifyProcessStateChanged().
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::Attach(), lldb_private::process_netbsd::NativeProcessNetBSD::Attach(), lldb_private::NativeProcessWindows::DeferStop(), lldb_private::NativeProcessWindows::Detach(), lldb_private::NativeProcessWindows::HandleBreakpointException(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorClone(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorClone(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorExited(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorExited(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSignal(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSignal(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGSTOP(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSIGSTOP(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGTRAP(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSIGTRAP(), lldb_private::process_aix::NativeProcessAIX::NativeProcessAIX(), lldb_private::process_linux::NativeProcessLinux::NativeProcessLinux(), lldb_private::NativeProcessWindows::OnExitProcess(), lldb_private::NativeProcessWindows::OnLoadDll(), lldb_private::NativeProcessWindows::OnUnloadDll(), lldb_private::NativeProcessWindows::Resume(), lldb_private::process_freebsd::NativeProcessFreeBSD::Resume(), lldb_private::process_netbsd::NativeProcessNetBSD::Resume(), lldb_private::process_linux::NativeProcessLinux::ResumeThread(), and lldb_private::process_linux::NativeProcessLinux::SignalIfAllThreadsStopped().
|
virtual |
Definition at line 149 of file NativeProcessProtocol.cpp.
References lldb_private::Status::Fail(), GetID(), lldb_private::GetLog(), LLDB_LOG, m_threads, m_threads_mutex, m_watchpoint_list, lldb_private::Process, lldb_private::Status::Success(), and UpdateThreads().
|
pure virtual |
Sends a process a UNIX signal signal.
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by Interrupt().
|
protected |
Notify the delegates of state.
For plugins that set a state with SetState(state, /*notify_delegates=*/false) and report it later.
Definition at line 313 of file NativeProcessProtocol.cpp.
References lldb::eStateCrashed, lldb::eStateExited, lldb::eStateStopped, GetID(), lldb_private::GetLog(), LLDB_LOG, m_delegate, NotifyTracersProcessDidStop(), and lldb_private::Process.
Referenced by lldb_private::NativeProcessWindows::ReportDeferredStop(), SetExitStatus(), and SetState().
|
inline |
Definition at line 260 of file NativeProcessProtocol.h.
References m_threads, and m_threads_mutex.
Referenced by lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::AddProcessThreads(), GetJSONThreadsInfo(), and lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::PrepareStopReplyPacketForThread().
|
inlinevirtual |
Get binary data given a trace technology and a data identifier.
| [in] | request | Object with the params of the requested data. |
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 430 of file NativeProcessProtocol.h.
References lldb_private::TraceGetBinaryDataRequest::kind, and lldb_private::TraceGetBinaryDataRequest::type.
Referenced by lldb_private::process_linux::NativeProcessLinux::TraceGetBinaryData().
|
inlinevirtual |
Get the current tracing state of the process and its threads.
| [in] | type | Tracing technology type to consider. |
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 422 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_linux::NativeProcessLinux::TraceGetState().
|
inlinevirtual |
Start tracing a process or its threads.
| [in] | json_params | JSON object with the information of what and how to trace. In the case of gdb-remote, this object should conform to the jLLDBTraceStart packet. |
This object should have a string entry called "type", which is the tracing technology name.
| [in] | type | Tracing technology type, as described in the json_params. |
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 406 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_linux::NativeProcessLinux::TraceStart().
|
inlinevirtual |
Stop tracing a live process or its threads.
| [in] | request | The information determining which threads or process to stop tracing. |
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 414 of file NativeProcessProtocol.h.
References lldb_private::TraceStopRequest::type.
Referenced by lldb_private::process_linux::NativeProcessLinux::TraceStop().
|
inlinevirtual |
Get the processor tracing type supported for this process.
Responses might be different depending on the architecture and capabilities of the underlying OS.
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 438 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_linux::NativeProcessLinux::TraceSupported().
|
pure virtual |
Implemented in lldb_private::NativeProcessWindows, lldb_private::process_aix::NativeProcessAIX, lldb_private::process_freebsd::NativeProcessFreeBSD, lldb_private::process_linux::NativeProcessLinux, and lldb_private::process_netbsd::NativeProcessNetBSD.
Referenced by RemoveHardwareBreakpoint(), RemoveWatchpoint(), SetHardwareBreakpoint(), and SetWatchpoint().
| Status NativeProcessProtocol::WriteMemory | ( | lldb::addr_t | addr, |
| const void * | buf, | ||
| size_t | size, | ||
| size_t & | bytes_written ) |
Write memory while not overwriting breakpoints in memory.
The breakpoints' saved bytes are updated with what would have been written.
Definition at line 653 of file NativeProcessProtocol.cpp.
References DoWriteMemory(), error(), lldb_private::Status::FromErrorStringWithFormat(), m_software_breakpoints, and lldb_private::Status.
Referenced by lldb_private::NativeRegisterContext::WriteRegisterValueToMemory().
|
virtual |
Reimplemented in lldb_private::process_linux::NativeProcessLinux.
Definition at line 65 of file NativeProcessProtocol.cpp.
References lldb_private::Status::FromErrorString().
|
inlinevirtual |
Write up to len bytes from buf to the inferior's stdin.
Reimplemented in lldb_private::NativeProcessWindows.
Definition at line 268 of file NativeProcessProtocol.h.
References error().
|
protected |
Definition at line 484 of file NativeProcessProtocol.h.
Referenced by GetCurrentThread(), GetCurrentThreadID(), and SetCurrentThreadID().
|
protected |
Definition at line 492 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorClone(), lldb_private::process_linux::NativeProcessLinux::MonitorClone(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorClone(), NativeProcessProtocol(), NotifyDidExec(), lldb_private::NativeProcessWindows::OnDebugString(), and SynchronouslyNotifyProcessStateChanged().
|
protected |
Definition at line 503 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorClone(), lldb_private::process_linux::NativeProcessLinux::MonitorClone(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorClone(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGTRAP(), lldb_private::process_linux::NativeProcessLinux::MonitorSIGTRAP(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSIGTRAP(), and SetEnabledExtensions().
|
protected |
Definition at line 490 of file NativeProcessProtocol.h.
Referenced by GetExitStatus(), and SetExitStatus().
|
protected |
Definition at line 494 of file NativeProcessProtocol.h.
Referenced by GetHardwareBreakpointMap(), RemoveHardwareBreakpoint(), and SetHardwareBreakpoint().
|
protected |
Definition at line 481 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::Attach(), lldb_private::process_netbsd::NativeProcessNetBSD::Attach(), GetID(), lldb_private::process_freebsd::NativeProcessFreeBSD::Kill(), NativeProcessProtocol(), lldb_private::process_freebsd::NativeProcessFreeBSD::PopulateMemoryRegionCache(), and SetID().
|
protected |
Definition at line 500 of file NativeProcessProtocol.h.
Referenced by IgnoreSignals(), and lldb_private::process_linux::NativeProcessLinux::MonitorSignal().
|
protected |
Definition at line 480 of file NativeProcessProtocol.h.
Referenced by lldb_private::NativeProcessWindows::FindSoftwareBreakpoint(), FixupBreakpointPCAsNeeded(), HasSoftwareBreakpoint(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorClone(), lldb_private::process_linux::NativeProcessLinux::MonitorClone(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorClone(), NotifyDidExec(), ReadMemoryWithoutTrap(), RemoveSoftwareBreakpoint(), SetSoftwareBreakpoint(), and WriteMemory().
|
protected |
Definition at line 487 of file NativeProcessProtocol.h.
Referenced by CanResume(), GetExitStatus(), GetState(), lldb_private::process_freebsd::NativeProcessFreeBSD::Halt(), IsAlive(), IsRunning(), IsStepping(), lldb_private::process_aix::NativeProcessAIX::Kill(), lldb_private::process_freebsd::NativeProcessFreeBSD::Kill(), lldb_private::process_linux::NativeProcessLinux::Kill(), lldb_private::process_netbsd::NativeProcessNetBSD::Kill(), SetExitStatus(), and SetState().
|
mutableprotected |
Definition at line 488 of file NativeProcessProtocol.h.
Referenced by GetState(), GetStopID(), and SetState().
|
protected |
Definition at line 496 of file NativeProcessProtocol.h.
Referenced by GetStopID(), and SetState().
|
protected |
Definition at line 495 of file NativeProcessProtocol.h.
Referenced by GetTerminalFileDescriptor(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorClone(), lldb_private::process_linux::NativeProcessLinux::MonitorClone(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorClone(), lldb_private::process_aix::NativeProcessAIX::NativeProcessAIX(), lldb_private::process_freebsd::NativeProcessFreeBSD::NativeProcessFreeBSD(), lldb_private::process_linux::NativeProcessLinux::NativeProcessLinux(), lldb_private::process_netbsd::NativeProcessNetBSD::NativeProcessNetBSD(), and NativeProcessProtocol().
|
protected |
Definition at line 483 of file NativeProcessProtocol.h.
Referenced by lldb_private::process_freebsd::NativeProcessFreeBSD::AddThread(), lldb_private::process_linux::NativeProcessLinux::AddThread(), lldb_private::process_netbsd::NativeProcessNetBSD::AddThread(), lldb_private::process_freebsd::NativeProcessFreeBSD::Attach(), lldb_private::process_netbsd::NativeProcessNetBSD::Attach(), lldb_private::process_linux::NativeProcessLinux::Detach(), GetThreadAtIndex(), GetThreadByIDUnlocked(), lldb_private::NativeProcessWindows::HandleBreakpointException(), lldb_private::process_freebsd::NativeProcessFreeBSD::HasThreadNoLock(), lldb_private::process_linux::NativeProcessLinux::HasThreadNoLock(), lldb_private::process_netbsd::NativeProcessNetBSD::HasThreadNoLock(), lldb_private::process_linux::NativeProcessLinux::Interrupt(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorExited(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorExited(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSignal(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSignal(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGSTOP(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSIGSTOP(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGTRAP(), lldb_private::process_linux::NativeProcessLinux::MonitorSIGTRAP(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSIGTRAP(), lldb_private::NativeProcessWindows::OnCreateThread(), lldb_private::NativeProcessWindows::OnDebuggerConnected(), lldb_private::NativeProcessWindows::OnExitThread(), lldb_private::NativeProcessWindows::OnLoadDll(), lldb_private::NativeProcessWindows::OnUnloadDll(), lldb_private::process_freebsd::NativeProcessFreeBSD::ReinitializeThreads(), lldb_private::process_netbsd::NativeProcessNetBSD::ReinitializeThreads(), RemoveHardwareBreakpoint(), lldb_private::process_freebsd::NativeProcessFreeBSD::RemoveThread(), lldb_private::process_netbsd::NativeProcessNetBSD::RemoveThread(), RemoveWatchpoint(), lldb_private::NativeProcessWindows::ReportDeferredStop(), lldb_private::NativeProcessWindows::Resume(), lldb_private::process_freebsd::NativeProcessFreeBSD::Resume(), lldb_private::process_linux::NativeProcessLinux::Resume(), lldb_private::process_netbsd::NativeProcessNetBSD::Resume(), SetHardwareBreakpoint(), SetWatchpoint(), lldb_private::process_linux::NativeProcessLinux::SignalIfAllThreadsStopped(), lldb_private::process_linux::NativeProcessLinux::StopRunningThreads(), lldb_private::NativeProcessWindows::StopThread(), lldb_private::process_linux::NativeProcessLinux::StopTrackingThread(), Threads(), lldb_private::NativeProcessWindows::UpdateThreads(), lldb_private::process_aix::NativeProcessAIX::UpdateThreads(), lldb_private::process_freebsd::NativeProcessFreeBSD::UpdateThreads(), lldb_private::process_linux::NativeProcessLinux::UpdateThreads(), and lldb_private::process_netbsd::NativeProcessNetBSD::UpdateThreads().
|
mutableprotected |
Definition at line 485 of file NativeProcessProtocol.h.
Referenced by GetThreadAtIndex(), GetThreadByID(), lldb_private::NativeProcessWindows::HandleBreakpointException(), lldb_private::NativeProcessWindows::OnCreateThread(), lldb_private::NativeProcessWindows::OnDebuggerConnected(), lldb_private::NativeProcessWindows::OnExitThread(), lldb_private::NativeProcessWindows::OnLoadDll(), lldb_private::NativeProcessWindows::OnUnloadDll(), RemoveHardwareBreakpoint(), RemoveWatchpoint(), lldb_private::NativeProcessWindows::Resume(), SetHardwareBreakpoint(), SetWatchpoint(), lldb_private::NativeProcessWindows::StopThread(), Threads(), and lldb_private::NativeProcessWindows::UpdateThreads().
|
protected |
Definition at line 493 of file NativeProcessProtocol.h.
Referenced by GetWatchpointMap(), RemoveWatchpoint(), and SetWatchpoint().