diff options
author | Ed Maste <emaste@freebsd.org> | 2014-04-17 13:03:10 +0000 |
---|---|---|
committer | Ed Maste <emaste@freebsd.org> | 2014-04-17 13:03:10 +0000 |
commit | dbb67c46db53a85132e40020ea87cab66ef99cc6 (patch) | |
tree | fee704b5db14c862ee23cd3162744f0a04f048f7 /lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp | |
parent | dc197ea30d540e35d25c24de8556d54c647379c7 (diff) | |
download | bcm5719-llvm-dbb67c46db53a85132e40020ea87cab66ef99cc6.tar.gz bcm5719-llvm-dbb67c46db53a85132e40020ea87cab66ef99cc6.zip |
Move FreeBSDSignals to Utility
It will shortly be need by FreeBSD elf core support on all hosts.
llvm-svn: 206466
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp b/lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp new file mode 100644 index 00000000000..b7c52aeb6d1 --- /dev/null +++ b/lldb/source/Plugins/Process/Utility/FreeBSDSignals.cpp @@ -0,0 +1,31 @@ +//===-- FreeBSDSignals.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 +// C++ Includes +// Other libraries and framework includes +// Project includes +#include "FreeBSDSignals.h" + +FreeBSDSignals::FreeBSDSignals() + : UnixSignals() +{ + Reset(); +} + +void +FreeBSDSignals::Reset() +{ + UnixSignals::Reset(); + + // SIGNO NAME SHORT NAME SUPPRESS STOP NOTIFY DESCRIPTION + // ====== ============ ========== ======== ====== ====== =================================================== + AddSignal (32, "SIGTHR", "THR", false, true , true , "thread interrupt"); + AddSignal (33, "SIGLIBRT", "LIBRT", false, true , true , "reserved by real-time library"); +} |