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

#include <NativeThreadProtocol.h>

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

Public Member Functions

 NativeThreadProtocol (NativeProcessProtocol &process, lldb::tid_t tid)
 
virtual ~NativeThreadProtocol ()
 
virtual std::string GetName ()=0
 
virtual lldb::StateType GetState ()=0
 
virtual NativeRegisterContextGetRegisterContext ()=0
 
virtual bool GetStopReason (ThreadStopInfo &stop_info, std::string &description)=0
 
lldb::tid_t GetID () const
 
NativeProcessProtocolGetProcess ()
 
virtual Status SetWatchpoint (lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware)=0
 
virtual Status RemoveWatchpoint (lldb::addr_t addr)=0
 
virtual Status SetHardwareBreakpoint (lldb::addr_t addr, size_t size)=0
 
virtual Status RemoveHardwareBreakpoint (lldb::addr_t addr)=0
 

Protected Attributes

NativeProcessProtocolm_process
 
lldb::tid_t m_tid
 

Detailed Description

Definition at line 20 of file NativeThreadProtocol.h.

Constructor & Destructor Documentation

◆ NativeThreadProtocol()

NativeThreadProtocol::NativeThreadProtocol ( NativeProcessProtocol process,
lldb::tid_t  tid 
)

Definition at line 17 of file NativeThreadProtocol.cpp.

◆ ~NativeThreadProtocol()

virtual lldb_private::NativeThreadProtocol::~NativeThreadProtocol ( )
inlinevirtual

Definition at line 24 of file NativeThreadProtocol.h.

References GetName(), GetRegisterContext(), GetState(), and GetStopReason().

Member Function Documentation

◆ GetID()

lldb::tid_t lldb_private::NativeThreadProtocol::GetID ( ) const
inline

Definition at line 35 of file NativeThreadProtocol.h.

References m_tid.

Referenced by lldb_private::process_linux::NativeProcessLinux::Factory::Attach(), lldb_private::process_linux::NativeProcessLinux::Detach(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::DoReadDBR(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::DoReadFPR(), lldb_private::process_linux::NativeRegisterContextLinux::DoReadFPR(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::DoReadGPR(), lldb_private::process_linux::NativeRegisterContextLinux::DoReadGPR(), lldb_private::process_linux::NativeRegisterContextLinux::DoReadRegisterValue(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::DoWriteDBR(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::DoWriteFPR(), lldb_private::process_linux::NativeRegisterContextLinux::DoWriteFPR(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::DoWriteGPR(), lldb_private::process_linux::NativeRegisterContextLinux::DoWriteGPR(), lldb_private::process_linux::NativeRegisterContextLinux::DoWriteRegisterValue(), lldb_private::process_darwin::NativeThreadDarwin::Dump(), lldb_private::NativeProcessProtocol::FixupBreakpointPCAsNeeded(), GetJSONThreadsInfo(), lldb_private::process_linux::NativeThreadLinux::GetName(), lldb_private::process_netbsd::NativeThreadNetBSD::GetStopReason(), lldb_private::process_linux::NativeThreadLinux::GetStopReason(), lldb_private::process_linux::NativeProcessLinux::GetThreadByID(), lldb_private::NativeRegisterContext::GetThreadID(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qC(), lldb_private::process_linux::NativeProcessLinux::Interrupt(), lldb_private::process_netbsd::NativeThreadNetBSD::NativeThreadNetBSD(), ReadFlags(), lldb_private::process_linux::NativeRegisterContextLinux::ReadRegisterSet(), lldb_private::process_linux::NativeThreadLinux::RemoveHardwareBreakpoint(), lldb_private::process_linux::NativeProcessLinux::Resume(), lldb_private::process_linux::NativeProcessLinux::WriteMemory(), and lldb_private::process_linux::NativeRegisterContextLinux::WriteRegisterSet().

◆ GetName()

virtual std::string lldb_private::NativeThreadProtocol::GetName ( )
pure virtual

◆ GetProcess()

NativeProcessProtocol& lldb_private::NativeThreadProtocol::GetProcess ( )
inline

◆ GetRegisterContext()

virtual NativeRegisterContext& lldb_private::NativeThreadProtocol::GetRegisterContext ( )
pure virtual

◆ GetState()

virtual lldb::StateType lldb_private::NativeThreadProtocol::GetState ( )
pure virtual

◆ GetStopReason()

virtual bool lldb_private::NativeThreadProtocol::GetStopReason ( ThreadStopInfo stop_info,
std::string &  description 
)
pure virtual

◆ RemoveHardwareBreakpoint()

virtual Status lldb_private::NativeThreadProtocol::RemoveHardwareBreakpoint ( lldb::addr_t  addr)
pure virtual

◆ RemoveWatchpoint()

virtual Status lldb_private::NativeThreadProtocol::RemoveWatchpoint ( lldb::addr_t  addr)
pure virtual

◆ SetHardwareBreakpoint()

virtual Status lldb_private::NativeThreadProtocol::SetHardwareBreakpoint ( lldb::addr_t  addr,
size_t  size 
)
pure virtual

◆ SetWatchpoint()

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

Member Data Documentation

◆ m_process

NativeProcessProtocol& lldb_private::NativeThreadProtocol::m_process
protected

◆ m_tid

lldb::tid_t lldb_private::NativeThreadProtocol::m_tid
protected

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