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]

Public Member Functions

 NativeThreadProtocol (NativeProcessProtocol &process, lldb::tid_t tid)
 
virtual ~NativeThreadProtocol ()=default
 
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
 
virtual llvm::Expected< std::unique_ptr< llvm::MemoryBuffer > > GetSiginfo () const
 

Protected Attributes

NativeProcessProtocolm_process
 
lldb::tid_t m_tid
 

Detailed Description

Definition at line 24 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 ( )
virtualdefault

Member Function Documentation

◆ GetID()

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

Definition at line 39 of file NativeThreadProtocol.h.

References m_tid.

Referenced by lldb_private::process_linux::NativeProcessLinux::AddThread(), lldb_private::process_linux::NativeRegisterContextLinux::DoReadRegisterValue(), lldb_private::process_netbsd::NativeRegisterContextNetBSD::DoRegisterSet(), lldb_private::process_linux::NativeRegisterContextLinux::DoWriteRegisterValue(), lldb_private::NativeProcessProtocol::FixupBreakpointPCAsNeeded(), lldb_private::process_freebsd::NativeThreadFreeBSD::GetName(), lldb_private::process_linux::NativeThreadLinux::GetName(), lldb_private::process_freebsd::NativeThreadFreeBSD::GetSiginfo(), lldb_private::process_linux::NativeThreadLinux::GetSiginfo(), lldb_private::process_freebsd::NativeThreadFreeBSD::GetStopReason(), lldb_private::process_linux::NativeThreadLinux::GetStopReason(), lldb_private::process_netbsd::NativeThreadNetBSD::GetStopReason(), lldb_private::NativeThreadWindows::GetStopReason(), lldb_private::NativeRegisterContext::GetThreadID(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_qC(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::Handle_stop_reason(), lldb_private::process_linux::NativeProcessLinux::Interrupt(), lldb_private::process_linux::NativeThreadLinux::MaybeLogStateChange(), lldb_private::process_linux::NativeProcessLinux::MonitorBreakpoint(), lldb_private::process_linux::NativeProcessLinux::MonitorCallback(), lldb_private::process_linux::NativeProcessLinux::MonitorClone(), lldb_private::process_linux::NativeProcessLinux::MonitorSignal(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSignal(), lldb_private::process_netbsd::NativeProcessNetBSD::MonitorSignal(), lldb_private::process_linux::NativeProcessLinux::MonitorSIGTRAP(), lldb_private::process_freebsd::NativeProcessFreeBSD::MonitorSIGTRAP(), lldb_private::process_linux::NativeProcessLinux::MonitorTrace(), lldb_private::process_linux::NativeProcessLinux::MonitorWatchpoint(), lldb_private::process_gdb_remote::GDBRemoteCommunicationServerLLGS::PrepareStopReplyPacketForThread(), lldb_private::process_linux::NativeRegisterContextLinux::ReadFPR(), lldb_private::process_linux::NativeRegisterContextLinux::ReadGPR(), lldb_private::process_linux::NativeRegisterContextLinux::ReadRegisterSet(), lldb_private::process_linux::NativeThreadLinux::RequestStop(), lldb_private::process_freebsd::NativeThreadFreeBSD::Resume(), lldb_private::process_netbsd::NativeThreadNetBSD::Resume(), lldb_private::process_freebsd::NativeProcessFreeBSD::Resume(), lldb_private::process_netbsd::NativeProcessNetBSD::Resume(), lldb_private::process_linux::NativeThreadLinux::Resume(), lldb_private::process_linux::NativeProcessLinux::ResumeThread(), lldb_private::process_freebsd::NativeThreadFreeBSD::SetStoppedBySignal(), lldb_private::process_netbsd::NativeThreadNetBSD::SetStoppedBySignal(), lldb_private::NativeProcessWindows::SetStopReasonForThread(), lldb_private::NativeProcessSoftwareSingleStep::SetupSoftwareSingleStepping(), lldb_private::process_freebsd::NativeThreadFreeBSD::SingleStep(), lldb_private::process_netbsd::NativeThreadNetBSD::SingleStep(), lldb_private::process_linux::NativeProcessLinux::StopTrackingThread(), lldb_private::process_freebsd::NativeThreadFreeBSD::Suspend(), lldb_private::process_netbsd::NativeThreadNetBSD::Suspend(), lldb_private::process_linux::NativeProcessLinux::Syscall(), lldb_private::process_linux::NativeProcessLinux::ThreadWasCreated(), lldb_private::process_linux::NativeRegisterContextLinux::WriteFPR(), lldb_private::process_linux::NativeRegisterContextLinux::WriteGPR(), 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

◆ GetSiginfo()

virtual llvm::Expected< std::unique_ptr< llvm::MemoryBuffer > > lldb_private::NativeThreadProtocol::GetSiginfo ( ) const
inlinevirtual

◆ 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: