diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:55:28 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-12-30 11:55:28 +0000 | 
| commit | e81d9d49145e432d917eea3a70d2ae74dcad1d89 (patch) | |
| tree | 9ed5e1a91f242e2cb5911577356e487a55c01b78 /include/lldb/Target/UnixSignals.h | |
| parent | 85d8ef8f1f0e0e063a8571944302be2d2026f823 (diff) | |
Notes
Diffstat (limited to 'include/lldb/Target/UnixSignals.h')
| -rw-r--r-- | include/lldb/Target/UnixSignals.h | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/include/lldb/Target/UnixSignals.h b/include/lldb/Target/UnixSignals.h index 76955deabc78..7a02f557067b 100644 --- a/include/lldb/Target/UnixSignals.h +++ b/include/lldb/Target/UnixSignals.h @@ -98,6 +98,9 @@ public:      int32_t      GetSignalAtIndex(int32_t index) const; +    ConstString +    GetShortName(ConstString name) const; +      // We assume that the elements of this object are constant once it is constructed,      // since a process should never need to add or remove symbols as it runs.  So don't      // call these functions anywhere but the constructor of your subclass of UnixSignals or in @@ -106,11 +109,11 @@ public:      void      AddSignal (int signo,                 const char *name, -               const char *short_name,                 bool default_suppress,                 bool default_stop,                 bool default_notify, -               const char *description); +               const char *description, +               const char *alias = nullptr);      void      RemoveSignal (int signo); @@ -123,18 +126,18 @@ protected:      struct Signal      {          ConstString m_name; -        ConstString m_short_name; +        ConstString m_alias;          std::string m_description;          bool m_suppress:1,               m_stop:1,               m_notify:1;          Signal (const char *name, -                const char *short_name,                  bool default_suppress,                  bool default_stop,                  bool default_notify, -                const char *description); +                const char *description, +                const char *alias);          ~Signal () {}      };  | 
