1 | //===-- GDBRemoteSignals.h --------------------------------------*- C++ -*-===// |
2 | // |
3 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
4 | // See https://llvm.org/LICENSE.txt for license information. |
5 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
6 | // |
7 | //===----------------------------------------------------------------------===// |
8 | |
9 | #ifndef LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_GDBREMOTESIGNALS_H |
10 | #define LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_GDBREMOTESIGNALS_H |
11 | |
12 | #include "lldb/Target/UnixSignals.h" |
13 | |
14 | namespace lldb_private { |
15 | |
16 | /// Initially carries signals defined by the GDB Remote Serial Protocol. |
17 | /// Can be filled with platform's signals through PlatformRemoteGDBServer. |
18 | class GDBRemoteSignals : public UnixSignals { |
19 | public: |
20 | GDBRemoteSignals(); |
21 | |
22 | GDBRemoteSignals(const lldb::UnixSignalsSP &rhs); |
23 | |
24 | private: |
25 | void Reset() override; |
26 | }; |
27 | |
28 | } // namespace lldb_private |
29 | |
30 | #endif // LLDB_SOURCE_PLUGINS_PROCESS_UTILITY_GDBREMOTESIGNALS_H |
31 | |