LLDB  mainline
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
lldb_private::NativeProcessProtocol Class Referenceabstract

#include <NativeProcessProtocol.h>

Inheritance diagram for lldb_private::NativeProcessProtocol:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::NativeProcessProtocol:
Collaboration graph
[legend]

Classes

class  Factory
 
class  NativeDelegate
 
struct  SoftwareBreakpoint
 

Public Member Functions

virtual ~NativeProcessProtocol ()
 
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. More...
 
virtual Status Interrupt ()
 Tells a process to interrupt all operations as if by a Ctrl-C. More...
 
virtual Status Kill ()=0
 
virtual Status IgnoreSignals (llvm::ArrayRef< int > signals)
 
virtual Status GetMemoryRegionInfo (lldb::addr_t load_addr, MemoryRegionInfo &range_info)
 
virtual Status ReadMemory (lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read)=0
 
Status ReadMemoryWithoutTrap (lldb::addr_t addr, void *buf, size_t size, size_t &bytes_read)
 
virtual Status WriteMemory (lldb::addr_t addr, const void *buf, size_t size, size_t &bytes_written)=0
 
virtual Status AllocateMemory (size_t size, uint32_t permissions, lldb::addr_t &addr)=0
 
virtual Status DeallocateMemory (lldb::addr_t addr)=0
 
virtual lldb::addr_t GetSharedLibraryInfoAddress ()=0
 
virtual bool IsAlive () const
 
virtual size_t UpdateThreads ()=0
 
virtual const ArchSpecGetArchitecture () 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)
 
virtual const HardwareBreakpointMapGetHardwareBreakpointMap () const
 
virtual Status SetHardwareBreakpoint (lldb::addr_t addr, size_t size)
 
virtual Status RemoveHardwareBreakpoint (lldb::addr_t addr)
 
virtual const NativeWatchpointList::WatchpointMapGetWatchpointMap () const
 
virtual llvm::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
 
virtual llvm::ErrorOr< std::unique_ptr< llvm::MemoryBuffer > > GetAuxvData () const =0
 
virtual llvm::Optional< WaitStatusGetExitStatus ()
 
virtual bool SetExitStatus (WaitStatus status, bool bNotifyStateChange)
 
NativeThreadProtocolGetThreadAtIndex (uint32_t idx)
 
NativeThreadProtocolGetThreadByID (lldb::tid_t tid)
 
void SetCurrentThreadID (lldb::tid_t tid)
 
lldb::tid_t GetCurrentThreadID ()
 
NativeThreadProtocolGetCurrentThread ()
 
virtual int GetTerminalFileDescriptor ()
 
uint32_t GetStopID () const
 
bool RegisterNativeDelegate (NativeDelegate &native_delegate)
 Register a native delegate. More...
 
bool UnregisterNativeDelegate (NativeDelegate &native_delegate)
 Unregister a native delegate previously registered. More...
 
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 lldb::user_id_t StartTrace (const TraceOptions &config, Status &error)
 StartTracing API for starting a tracing instance with the TraceOptions on a specific thread or process. More...
 
virtual Status StopTrace (lldb::user_id_t traceid, lldb::tid_t thread=LLDB_INVALID_THREAD_ID)
 StopTracing API as the name suggests stops a tracing instance. More...
 
virtual Status GetData (lldb::user_id_t traceid, lldb::tid_t thread, llvm::MutableArrayRef< uint8_t > &buffer, size_t offset=0)
 This API provides the trace data collected in the form of raw data. More...
 
virtual Status GetMetaData (lldb::user_id_t traceid, lldb::tid_t thread, llvm::MutableArrayRef< uint8_t > &buffer, size_t offset=0)
 Similar API as above except it aims to provide any extra data useful for decoding the actual trace data. More...
 
virtual Status GetTraceConfig (lldb::user_id_t traceid, TraceOptions &config)
 API to query the TraceOptions for a given user id. More...
 

Protected Member Functions

 NativeProcessProtocol (lldb::pid_t pid, int terminal_fd, NativeDelegate &delegate)
 
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. More...
 
void FixupBreakpointPCAsNeeded (NativeThreadProtocol &thread)
 
void NotifyDidExec ()
 Notify the delegate that an exec occurred. More...
 
NativeThreadProtocolGetThreadByIDUnlocked (lldb::tid_t tid)
 

Protected Attributes

std::unordered_map< lldb::addr_t, SoftwareBreakpointm_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
 
llvm::Optional< WaitStatusm_exit_status
 
std::recursive_mutex m_delegates_mutex
 
std::vector< NativeDelegate * > m_delegates
 
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
 

Detailed Description

Definition at line 36 of file NativeProcessProtocol.h.

Constructor & Destructor Documentation

◆ ~NativeProcessProtocol()

virtual lldb_private::NativeProcessProtocol::~NativeProcessProtocol ( )
inlinevirtual

◆ NativeProcessProtocol()

NativeProcessProtocol::NativeProcessProtocol ( lldb::pid_t  pid,
int  terminal_fd,
NativeDelegate delegate 
)
protected

Definition at line 24 of file NativeProcessProtocol.cpp.

References RegisterNativeDelegate().

Member Function Documentation

◆ AllocateMemory()

virtual Status lldb_private::NativeProcessProtocol::AllocateMemory ( size_t  size,
uint32_t  permissions,
lldb::addr_t addr 
)
pure virtual

◆ CanResume()

bool lldb_private::NativeProcessProtocol::CanResume ( ) const
inline

Definition at line 130 of file NativeProcessProtocol.h.

References lldb::eStateStopped, and m_state.

◆ DeallocateMemory()

virtual Status lldb_private::NativeProcessProtocol::DeallocateMemory ( lldb::addr_t  addr)
pure virtual

◆ Detach()

virtual Status lldb_private::NativeProcessProtocol::Detach ( )
pure virtual

◆ DoStopIDBumped()

void NativeProcessProtocol::DoStopIDBumped ( uint32_t  newBumpId)
protectedvirtual

◆ FixupBreakpointPCAsNeeded()

void NativeProcessProtocol::FixupBreakpointPCAsNeeded ( NativeThreadProtocol thread)
protected

◆ GetArchitecture()

virtual const ArchSpec& lldb_private::NativeProcessProtocol::GetArchitecture ( ) const
pure virtual

◆ GetAuxvData()

virtual llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer> > lldb_private::NativeProcessProtocol::GetAuxvData ( ) const
pure virtual

◆ GetByteOrder()

lldb::ByteOrder lldb_private::NativeProcessProtocol::GetByteOrder ( ) const
inline

◆ GetCurrentThread()

NativeThreadProtocol* lldb_private::NativeProcessProtocol::GetCurrentThread ( )
inline

Definition at line 153 of file NativeProcessProtocol.h.

References GetThreadByID(), and m_current_thread_id.

◆ GetCurrentThreadID()

lldb::tid_t lldb_private::NativeProcessProtocol::GetCurrentThreadID ( )
inline

Definition at line 151 of file NativeProcessProtocol.h.

References m_current_thread_id.

◆ GetData()

virtual Status lldb_private::NativeProcessProtocol::GetData ( lldb::user_id_t  traceid,
lldb::tid_t  thread,
llvm::MutableArrayRef< uint8_t > &  buffer,
size_t  offset = 0 
)
inlinevirtual

This API provides the trace data collected in the form of raw data.

Parameters
[in]traceidthread The traceid and thread provide the context for the trace instance.
[in]bufferThe buffer provides the destination buffer where the trace data would be read to. The buffer should be truncated to the filled length by this function.
[in]offsetThere is possibility to read partially the trace data from a specified offset where in such cases the buffer provided may be smaller than the internal trace collection container.
Returns
The size of the data actually read.

Reimplemented in lldb_private::process_linux::NativeProcessLinux.

Definition at line 320 of file NativeProcessProtocol.h.

References lldb_private::Status.

◆ GetExitStatus()

llvm::Optional< WaitStatus > NativeProcessProtocol::GetExitStatus ( )
virtual

◆ GetFileLoadAddress()

virtual Status lldb_private::NativeProcessProtocol::GetFileLoadAddress ( const llvm::StringRef &  file_name,
lldb::addr_t load_addr 
)
pure virtual

◆ GetHardwareBreakpointMap()

const HardwareBreakpointMap & NativeProcessProtocol::GetHardwareBreakpointMap ( ) const
virtual

◆ GetHardwareDebugSupportInfo()

llvm::Optional< std::pair< uint32_t, uint32_t > > NativeProcessProtocol::GetHardwareDebugSupportInfo ( ) const
virtual

◆ GetID()

lldb::pid_t lldb_private::NativeProcessProtocol::GetID ( ) const
inline

◆ GetLoadedModuleFileSpec()

virtual Status lldb_private::NativeProcessProtocol::GetLoadedModuleFileSpec ( const char *  module_path,
FileSpec file_spec 
)
pure virtual

◆ GetMemoryRegionInfo()

lldb_private::Status NativeProcessProtocol::GetMemoryRegionInfo ( lldb::addr_t  load_addr,
MemoryRegionInfo range_info 
)
virtual

◆ GetMetaData()

virtual Status lldb_private::NativeProcessProtocol::GetMetaData ( lldb::user_id_t  traceid,
lldb::tid_t  thread,
llvm::MutableArrayRef< uint8_t > &  buffer,
size_t  offset = 0 
)
inlinevirtual

Similar API as above except it aims to provide any extra data useful for decoding the actual trace data.

Reimplemented in lldb_private::process_linux::NativeProcessLinux.

Definition at line 328 of file NativeProcessProtocol.h.

References lldb_private::Status.

◆ GetSharedLibraryInfoAddress()

virtual lldb::addr_t lldb_private::NativeProcessProtocol::GetSharedLibraryInfoAddress ( )
pure virtual

◆ GetSoftwareBreakpointPCOffset()

size_t NativeProcessProtocol::GetSoftwareBreakpointPCOffset ( )
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.

Definition at line 553 of file NativeProcessProtocol.cpp.

References GetArchitecture(), and GetSoftwareBreakpointTrapOpcode().

Referenced by FixupBreakpointPCAsNeeded(), and lldb_private::process_darwin::NativeProcessDarwin::GetTask().

◆ GetSoftwareBreakpointTrapOpcode()

llvm::Expected< llvm::ArrayRef< uint8_t > > NativeProcessProtocol::GetSoftwareBreakpointTrapOpcode ( size_t  size_hint)
protectedvirtual

◆ GetState()

lldb::StateType NativeProcessProtocol::GetState ( ) const

◆ GetStopID()

uint32_t NativeProcessProtocol::GetStopID ( ) const

◆ GetTerminalFileDescriptor()

virtual int lldb_private::NativeProcessProtocol::GetTerminalFileDescriptor ( )
inlinevirtual

Definition at line 158 of file NativeProcessProtocol.h.

References GetStopID(), and m_terminal_fd.

◆ GetThreadAtIndex()

NativeThreadProtocol * NativeProcessProtocol::GetThreadAtIndex ( uint32_t  idx)

◆ GetThreadByID()

NativeThreadProtocol * NativeProcessProtocol::GetThreadByID ( lldb::tid_t  tid)

Definition at line 101 of file NativeProcessProtocol.cpp.

References GetThreadByIDUnlocked(), and m_threads_mutex.

Referenced by GetByteOrder(), and GetCurrentThread().

◆ GetThreadByIDUnlocked()

NativeThreadProtocol * NativeProcessProtocol::GetThreadByIDUnlocked ( lldb::tid_t  tid)
protected

Definition at line 93 of file NativeProcessProtocol.cpp.

References m_threads.

Referenced by GetThreadByID().

◆ GetTraceConfig()

virtual Status lldb_private::NativeProcessProtocol::GetTraceConfig ( lldb::user_id_t  traceid,
TraceOptions config 
)
inlinevirtual

API to query the TraceOptions for a given user id.

Parameters
[in]traceidThe user id of the tracing instance.
[in]configThe thread id of the tracing instance, in case configuration for a specific thread is needed should be specified in the config.
[out]errorStatus indicates what went wrong.
[out]configThe actual configuration being used for tracing.

Reimplemented in lldb_private::process_linux::NativeProcessLinux.

Definition at line 349 of file NativeProcessProtocol.h.

References lldb_private::Status.

◆ GetWatchpointMap()

const NativeWatchpointList::WatchpointMap & NativeProcessProtocol::GetWatchpointMap ( ) const
virtual

◆ Halt()

virtual Status lldb_private::NativeProcessProtocol::Halt ( )
pure virtual

◆ IgnoreSignals()

Status NativeProcessProtocol::IgnoreSignals ( llvm::ArrayRef< int >  signals)
virtual

Definition at line 42 of file NativeProcessProtocol.cpp.

References m_signals_to_ignore, and lldb_private::Status.

Referenced by ~NativeProcessProtocol().

◆ Interrupt()

lldb_private::Status NativeProcessProtocol::Interrupt ( )
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.

Returns
Returns an error object.

Reimplemented in lldb_private::process_darwin::NativeProcessDarwin, and lldb_private::process_linux::NativeProcessLinux.

Definition at line 32 of file NativeProcessProtocol.cpp.

References lldb_private::Status::SetErrorString(), Signal(), and SIGSTOP.

Referenced by ~NativeProcessProtocol().

◆ IsAlive()

bool NativeProcessProtocol::IsAlive ( ) const
virtual

◆ IsRunning()

bool lldb_private::NativeProcessProtocol::IsRunning ( ) const
inline

Definition at line 124 of file NativeProcessProtocol.h.

References lldb::eStateRunning, IsStepping(), and m_state.

◆ IsStepping()

bool lldb_private::NativeProcessProtocol::IsStepping ( ) const
inline

Definition at line 128 of file NativeProcessProtocol.h.

References lldb::eStateStepping, and m_state.

Referenced by IsRunning().

◆ Kill()

virtual Status lldb_private::NativeProcessProtocol::Kill ( )
pure virtual

◆ NotifyDidExec()

void NativeProcessProtocol::NotifyDidExec ( )
protected

Notify the delegate that an exec occurred.

Provide a mechanism for a delegate to clear out any exec- sensitive data.

Definition at line 343 of file NativeProcessProtocol.cpp.

References lldb_private::GetLogIfAllCategoriesSet(), LIBLLDB_LOG_PROCESS, m_delegates, m_delegates_mutex, and lldb_private::Log::Printf().

◆ ReadMemory()

virtual Status lldb_private::NativeProcessProtocol::ReadMemory ( lldb::addr_t  addr,
void *  buf,
size_t  size,
size_t &  bytes_read 
)
pure virtual

◆ ReadMemoryWithoutTrap()

Status NativeProcessProtocol::ReadMemoryWithoutTrap ( lldb::addr_t  addr,
void *  buf,
size_t  size,
size_t &  bytes_read 
)

◆ RegisterNativeDelegate()

bool NativeProcessProtocol::RegisterNativeDelegate ( NativeDelegate native_delegate)

Register a native delegate.

Clients can register nofication callbacks by passing in a NativeDelegate impl and passing it into this function.

Note: it is required that the lifetime of the native_delegate outlive the NativeProcessProtocol.

Parameters
[in]native_delegateA NativeDelegate impl to be called when certain events happen within the NativeProcessProtocol or related threads.
Returns
true if the delegate was registered successfully; false if the delegate was already registered.
See also
NativeProcessProtocol::NativeDelegate.

Definition at line 296 of file NativeProcessProtocol.cpp.

References lldb_private::NativeProcessProtocol::NativeDelegate::InitializeDelegate(), m_delegates, and m_delegates_mutex.

Referenced by NativeProcessProtocol(), and lldb_private::NativeProcessProtocol::NativeDelegate::~NativeDelegate().

◆ RemoveBreakpoint()

Status NativeProcessProtocol::RemoveBreakpoint ( lldb::addr_t  addr,
bool  hardware = false 
)
virtual

◆ RemoveHardwareBreakpoint()

Status NativeProcessProtocol::RemoveHardwareBreakpoint ( lldb::addr_t  addr)
virtual

◆ RemoveSoftwareBreakpoint()

Status NativeProcessProtocol::RemoveSoftwareBreakpoint ( lldb::addr_t  addr)
protected

◆ RemoveWatchpoint()

Status NativeProcessProtocol::RemoveWatchpoint ( lldb::addr_t  addr)
virtual

◆ Resume()

virtual Status lldb_private::NativeProcessProtocol::Resume ( const ResumeActionList resume_actions)
pure virtual

◆ SetBreakpoint()

virtual Status lldb_private::NativeProcessProtocol::SetBreakpoint ( lldb::addr_t  addr,
uint32_t  size,
bool  hardware 
)
pure virtual

◆ SetCurrentThreadID()

void lldb_private::NativeProcessProtocol::SetCurrentThreadID ( lldb::tid_t  tid)
inline

Definition at line 149 of file NativeProcessProtocol.h.

References m_current_thread_id.

◆ SetExitStatus()

bool NativeProcessProtocol::SetExitStatus ( WaitStatus  status,
bool  bNotifyStateChange 
)
virtual

◆ SetHardwareBreakpoint()

Status NativeProcessProtocol::SetHardwareBreakpoint ( lldb::addr_t  addr,
size_t  size 
)
virtual

◆ SetSoftwareBreakpoint()

Status NativeProcessProtocol::SetSoftwareBreakpoint ( lldb::addr_t  addr,
uint32_t  size_hint 
)
protected

◆ SetState()

void NativeProcessProtocol::SetState ( lldb::StateType  state,
bool  notify_delegates = true 
)
protected

◆ SetWatchpoint()

Status NativeProcessProtocol::SetWatchpoint ( lldb::addr_t  addr,
size_t  size,
uint32_t  watch_flags,
bool  hardware 
)
virtual

◆ Signal()

virtual Status lldb_private::NativeProcessProtocol::Signal ( int  signo)
pure virtual

◆ StartTrace()

virtual lldb::user_id_t lldb_private::NativeProcessProtocol::StartTrace ( const TraceOptions config,
Status error 
)
inlinevirtual

StartTracing API for starting a tracing instance with the TraceOptions on a specific thread or process.

Parameters
[in]configThe configuration to use when starting tracing.
[out]errorStatus indicates what went wrong.
Returns
The API returns a user_id which can be used to get trace data, trace configuration or stopping the trace instance. The user_id is a key to identify and operate with a tracing instance. It may refer to the complete process or a single thread.

Reimplemented in lldb_private::process_linux::NativeProcessLinux.

Definition at line 276 of file NativeProcessProtocol.h.

References LLDB_INVALID_UID, and lldb_private::Status::SetErrorString().

◆ StopTrace()

virtual Status lldb_private::NativeProcessProtocol::StopTrace ( lldb::user_id_t  traceid,
lldb::tid_t  thread = LLDB_INVALID_THREAD_ID 
)
inlinevirtual

StopTracing API as the name suggests stops a tracing instance.

Parameters
[in]traceidThe user id of the trace intended to be stopped. Now a user_id may map to multiple threads in which case this API could be used to stop the tracing for a specific thread by supplying its thread id.
[in]threadThread is needed when the complete process is being traced and the user wishes to stop tracing on a particular thread.
Returns
Status indicating what went wrong.

Reimplemented in lldb_private::process_linux::NativeProcessLinux.

Definition at line 296 of file NativeProcessProtocol.h.

References lldb_private::Status.

◆ UnregisterNativeDelegate()

bool NativeProcessProtocol::UnregisterNativeDelegate ( NativeDelegate native_delegate)

Unregister a native delegate previously registered.

Parameters
[in]native_delegateA NativeDelegate impl previously registered with this process.
Returns
Returns true if the NativeDelegate was successfully removed from the process, false otherwise.
See also
NativeProcessProtocol::NativeDelegate

Definition at line 308 of file NativeProcessProtocol.cpp.

References GetID(), lldb_private::GetLogIfAllCategoriesSet(), LIBLLDB_LOG_PROCESS, m_delegates, m_delegates_mutex, lldb_private::Log::Printf(), and lldb_private::StateAsCString().

Referenced by lldb_private::NativeProcessProtocol::NativeDelegate::~NativeDelegate().

◆ UpdateThreads()

virtual size_t lldb_private::NativeProcessProtocol::UpdateThreads ( )
pure virtual

◆ WriteMemory()

virtual Status lldb_private::NativeProcessProtocol::WriteMemory ( lldb::addr_t  addr,
const void *  buf,
size_t  size,
size_t &  bytes_written 
)
pure virtual

Member Data Documentation

◆ m_current_thread_id

lldb::tid_t lldb_private::NativeProcessProtocol::m_current_thread_id = LLDB_INVALID_THREAD_ID
protected

◆ m_delegates

std::vector<NativeDelegate *> lldb_private::NativeProcessProtocol::m_delegates
protected

◆ m_delegates_mutex

std::recursive_mutex lldb_private::NativeProcessProtocol::m_delegates_mutex
protected

◆ m_exit_status

llvm::Optional<WaitStatus> lldb_private::NativeProcessProtocol::m_exit_status
protected

Definition at line 370 of file NativeProcessProtocol.h.

Referenced by GetExitStatus(), and SetExitStatus().

◆ m_hw_breakpoints_map

HardwareBreakpointMap lldb_private::NativeProcessProtocol::m_hw_breakpoints_map
protected

◆ m_pid

lldb::pid_t lldb_private::NativeProcessProtocol::m_pid
protected

Definition at line 361 of file NativeProcessProtocol.h.

Referenced by GetID().

◆ m_signals_to_ignore

llvm::DenseSet<int> lldb_private::NativeProcessProtocol::m_signals_to_ignore
protected

Definition at line 381 of file NativeProcessProtocol.h.

Referenced by IgnoreSignals().

◆ m_software_breakpoints

std::unordered_map<lldb::addr_t, SoftwareBreakpoint> lldb_private::NativeProcessProtocol::m_software_breakpoints
protected

◆ m_state

lldb::StateType lldb_private::NativeProcessProtocol::m_state = lldb::eStateInvalid
protected

◆ m_state_mutex

std::recursive_mutex lldb_private::NativeProcessProtocol::m_state_mutex
mutableprotected

Definition at line 368 of file NativeProcessProtocol.h.

Referenced by GetState(), GetStopID(), and SetState().

◆ m_stop_id

uint32_t lldb_private::NativeProcessProtocol::m_stop_id = 0
protected

Definition at line 377 of file NativeProcessProtocol.h.

Referenced by GetStopID(), and SetState().

◆ m_terminal_fd

int lldb_private::NativeProcessProtocol::m_terminal_fd
protected

Definition at line 376 of file NativeProcessProtocol.h.

Referenced by GetTerminalFileDescriptor().

◆ m_threads

std::vector<std::unique_ptr<NativeThreadProtocol> > lldb_private::NativeProcessProtocol::m_threads
protected

◆ m_threads_mutex

std::recursive_mutex lldb_private::NativeProcessProtocol::m_threads_mutex
mutableprotected

◆ m_watchpoint_list

NativeWatchpointList lldb_private::NativeProcessProtocol::m_watchpoint_list
protected

Definition at line 374 of file NativeProcessProtocol.h.

Referenced by GetWatchpointMap(), RemoveWatchpoint(), and SetWatchpoint().


The documentation for this class was generated from the following files: