LLDB mainline
Public Member Functions | Private Member Functions | List of all members
lldb_private::GDBRemoteSignals Class Reference

Initially carries signals defined by the GDB Remote Serial Protocol. More...

#include <GDBRemoteSignals.h>

Inheritance diagram for lldb_private::GDBRemoteSignals:
Inheritance graph

Public Member Functions

 GDBRemoteSignals ()
 GDBRemoteSignals (const lldb::UnixSignalsSP &rhs)
- Public Member Functions inherited from lldb_private::UnixSignals
 UnixSignals ()
virtual ~UnixSignals ()
const char * GetSignalAsCString (int32_t signo) const
std::string GetSignalDescription (int32_t signo, std::optional< int32_t > code=std::nullopt, std::optional< lldb::addr_t > addr=std::nullopt, std::optional< lldb::addr_t > lower=std::nullopt, std::optional< lldb::addr_t > upper=std::nullopt) const
bool SignalIsValid (int32_t signo) const
int32_t GetSignalNumberFromName (const char *name) const
const char * GetSignalInfo (int32_t signo, bool &should_suppress, bool &should_stop, bool &should_notify) const
bool GetShouldSuppress (int32_t signo) const
bool SetShouldSuppress (int32_t signo, bool value)
bool SetShouldSuppress (const char *signal_name, bool value)
bool GetShouldStop (int32_t signo) const
bool SetShouldStop (int32_t signo, bool value)
bool SetShouldStop (const char *signal_name, bool value)
bool GetShouldNotify (int32_t signo) const
bool SetShouldNotify (int32_t signo, bool value)
bool SetShouldNotify (const char *signal_name, bool value)
bool ResetSignal (int32_t signo, bool reset_stop=true, bool reset_notify=true, bool reset_suppress=true)
int32_t GetFirstSignalNumber () const
int32_t GetNextSignalNumber (int32_t current_signal) const
int32_t GetNumSignals () const
int32_t GetSignalAtIndex (int32_t index) const
ConstString GetShortName (ConstString name) const
void AddSignal (int signo, const char *name, bool default_suppress, bool default_stop, bool default_notify, const char *description, const char *alias=nullptr)
void AddSignalCode (int signo, int code, const char *description, SignalCodePrintOption print_option=SignalCodePrintOption::None)
void RemoveSignal (int signo)
void IncrementSignalHitCount (int signo)
 Track how many times signals are hit as stop reasons.
llvm::json::Value GetHitCountStatistics () const
 Get the hit count statistics for signals.
uint64_t GetVersion () const
std::vector< int32_t > GetFilteredSignals (std::optional< bool > should_suppress, std::optional< bool > should_stop, std::optional< bool > should_notify)

Private Member Functions

void Reset () override

Additional Inherited Members

- Public Types inherited from lldb_private::UnixSignals
enum  SignalCodePrintOption { None , Address , Bounds }
- Static Public Member Functions inherited from lldb_private::UnixSignals
static lldb::UnixSignalsSP Create (const ArchSpec &arch)
static lldb::UnixSignalsSP CreateForHost ()
- Protected Types inherited from lldb_private::UnixSignals
typedef std::map< int32_t, Signalcollection
- Protected Member Functions inherited from lldb_private::UnixSignals
virtual void Reset ()
 UnixSignals (const UnixSignals &rhs)
const UnixSignalsoperator= (const UnixSignals &rhs)=delete
- Protected Attributes inherited from lldb_private::UnixSignals
collection m_signals
uint64_t m_version = 0

Detailed Description

Initially carries signals defined by the GDB Remote Serial Protocol.

Can be filled with platform's signals through PlatformRemoteGDBServer.

Definition at line 18 of file GDBRemoteSignals.h.

Constructor & Destructor Documentation

◆ GDBRemoteSignals() [1/2]

GDBRemoteSignals::GDBRemoteSignals ( )

Definition at line 13 of file GDBRemoteSignals.cpp.

References Reset().

◆ GDBRemoteSignals() [2/2]

GDBRemoteSignals::GDBRemoteSignals ( const lldb::UnixSignalsSP &  rhs)

Definition at line 15 of file GDBRemoteSignals.cpp.

Member Function Documentation

◆ Reset()

void GDBRemoteSignals::Reset ( )

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