9#ifndef liblldb_NativeThreadLinux_H_
10#define liblldb_NativeThreadLinux_H_
17#include "llvm/ADT/StringRef.h"
25namespace process_linux {
27class NativeProcessLinux;
41 std::string &description)
override;
48 bool hardware)
override;
60 llvm::Expected<std::unique_ptr<llvm::MemoryBuffer>>
Manages communication with the inferior (debugee) process.
void AnnotateSyncTagCheckFault(lldb::addr_t fault_addr)
Extend m_stop_description with logical and allocation tag values.
void SetStoppedByVForkDone()
void MaybeLogStateChange(lldb::StateType new_state)
bool GetStopReason(ThreadStopInfo &stop_info, std::string &description) override
llvm::Expected< std::unique_ptr< llvm::MemoryBuffer > > GetSiginfo() const override
WatchpointIndexMap m_watchpoint_index_map
void SetStoppedByWatchpoint(uint32_t wp_index)
void SetStoppedBySignal(uint32_t signo, const siginfo_t *info=nullptr)
std::map< lldb::addr_t, uint32_t > WatchpointIndexMap
bool IsStoppedAtWatchpoint()
Status RemoveWatchpoint(lldb::addr_t addr) override
std::unique_ptr< NativeRegisterContextLinux > m_reg_context_up
void SetStoppedWithNoReason()
bool IsStoppedAtBreakpoint()
ThreadStopInfo m_stop_info
NativeProcessLinux & GetProcess()
Status SingleStep(uint32_t signo)
Single steps the thread.
WatchpointIndexMap m_hw_break_index_map
std::unique_ptr< SingleStepWorkaround > m_step_workaround
Status SetWatchpoint(lldb::addr_t addr, size_t size, uint32_t watch_flags, bool hardware) override
bool IsStopped(int *signo)
Return true if the thread is stopped.
lldb::StateType GetState() override
Status RemoveHardwareBreakpoint(lldb::addr_t addr) override
std::string GetName() override
Status SetHardwareBreakpoint(lldb::addr_t addr, size_t size) override
std::string m_stop_description
void SetStoppedByProcessorTrace(llvm::StringRef description)
NativeRegisterContextLinux & GetRegisterContext() override
Status Resume(uint32_t signo)
Resumes the thread.
void SetStoppedByBreakpoint()
void SetStoppedByFork(bool is_vfork, lldb::pid_t child_pid)
A class that represents a running process on the host machine.
StateType
Process and Thread States.