diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/Plugins/Process/Utility/GDBRemoteSignals.h')
-rw-r--r-- | contrib/llvm-project/lldb/source/Plugins/Process/Utility/GDBRemoteSignals.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/source/Plugins/Process/Utility/GDBRemoteSignals.h b/contrib/llvm-project/lldb/source/Plugins/Process/Utility/GDBRemoteSignals.h new file mode 100644 index 000000000000..4c260b94eba8 --- /dev/null +++ b/contrib/llvm-project/lldb/source/Plugins/Process/Utility/GDBRemoteSignals.h @@ -0,0 +1,30 @@ +//===-- GDBRemoteSignals.h --------------------------------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_GDBREMOTESIGNALS_H +#define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_GDBREMOTESIGNALS_H + +#include "lldb/Target/UnixSignals.h" + +namespace lldb_private { + +/// Initially carries signals defined by the GDB Remote Serial Protocol. +/// Can be filled with platform's signals through PlatformRemoteGDBServer. +class GDBRemoteSignals : public UnixSignals { +public: + GDBRemoteSignals(); + + GDBRemoteSignals(const lldb::UnixSignalsSP &rhs); + +private: + void Reset() override; +}; + +} // namespace lldb_private + +#endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_GDBREMOTESIGNALS_H |