Summary: - Consolidate Unix signals selection in UnixSignals. - Make Unix signals available from platform. - Add jSignalsInfo packet to retrieve Unix signals from remote platform. - Get a copy of the platform signal for each remote process. - Update SB API for signals. - Update signal utility in test suite. Reviewers: ovyalov, clayborg Subscribers: chaoren, jingham, labath, emaste, tberghammer, lldb-commits Differential Revision: http://reviews.llvm.org/D11094 llvm-svn: 242101
33 lines
711 B
C++
33 lines
711 B
C++
//===-- GDBRemoteSignals.cpp ------------------------------------*- C++ -*-===//
|
|
//
|
|
// The LLVM Compiler Infrastructure
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
// C++ Includes
|
|
// Other libraries and framework includes
|
|
// Project includes
|
|
#include "GDBRemoteSignals.h"
|
|
|
|
using namespace lldb_private;
|
|
|
|
GDBRemoteSignals::GDBRemoteSignals()
|
|
: UnixSignals()
|
|
{
|
|
Reset();
|
|
}
|
|
|
|
GDBRemoteSignals::GDBRemoteSignals(const lldb::UnixSignalsSP &rhs)
|
|
: UnixSignals(*rhs)
|
|
{
|
|
}
|
|
|
|
void
|
|
GDBRemoteSignals::Reset()
|
|
{
|
|
m_signals.clear();
|
|
}
|