Go to the documentation of this file.
9 #ifndef LLDB_HOST_COMMON_NATIVETHREADPROTOCOL_H
10 #define LLDB_HOST_COMMON_NATIVETHREADPROTOCOL_H
19 #include "llvm/Support/Error.h"
20 #include "llvm/Support/MemoryBuffer.h"
45 uint32_t watch_flags,
bool hardware) = 0;
54 virtual llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
56 return llvm::make_error<UnimplementedError>();
65 #endif // LLDB_HOST_COMMON_NATIVETHREADPROTOCOL_H
virtual Status RemoveHardwareBreakpoint(lldb::addr_t addr)=0
NativeProcessProtocol & GetProcess()
virtual Status RemoveWatchpoint(lldb::addr_t addr)=0
virtual ~NativeThreadProtocol()=default
virtual Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size)=0
virtual NativeRegisterContext & GetRegisterContext()=0
virtual bool GetStopReason(ThreadStopInfo &stop_info, std::string &description)=0
virtual lldb::StateType GetState()=0
string(SUBSTRING ${p} 10 -1 pStripped) if($
NativeThreadProtocol(NativeProcessProtocol &process, lldb::tid_t tid)
lldb::tid_t GetID() const
A class that represents a running process on the host machine.
NativeProcessProtocol & m_process
virtual llvm::Expected< std::unique_ptr< llvm::MemoryBuffer > > GetSiginfo() const
virtual std::string GetName()=0
StateType
Process and Thread States.
virtual Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware)=0