blob: ed35273ce3fee30a6ea218464fdbf744976da903 [file] [log] [blame]
Chaoren Lin98d0a4b2015-07-14 01:09:28 +00001//===-- GDBRemoteSignals.cpp ------------------------------------*- C++ -*-===//
2//
Chandler Carruth2946cd72019-01-19 08:50:56 +00003// 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
Chaoren Lin98d0a4b2015-07-14 01:09:28 +00006//
7//===----------------------------------------------------------------------===//
8
Chaoren Lin98d0a4b2015-07-14 01:09:28 +00009#include "GDBRemoteSignals.h"
10
11using namespace lldb_private;
12
Kate Stoneb9c1b512016-09-06 20:57:50 +000013GDBRemoteSignals::GDBRemoteSignals() : UnixSignals() { Reset(); }
Chaoren Lin98d0a4b2015-07-14 01:09:28 +000014
15GDBRemoteSignals::GDBRemoteSignals(const lldb::UnixSignalsSP &rhs)
Kate Stoneb9c1b512016-09-06 20:57:50 +000016 : UnixSignals(*rhs) {}
Chaoren Lin98d0a4b2015-07-14 01:09:28 +000017
Kate Stoneb9c1b512016-09-06 20:57:50 +000018void GDBRemoteSignals::Reset() { m_signals.clear(); }