lldb-git: Remove local patch for NetBSD signals, merged upstream

This commit is contained in:
Kamil Rytarowski 2015-12-15 02:08:28 +01:00
parent f893d9423f
commit 93ad5cd3dc
5 changed files with 0 additions and 114 deletions

View file

@ -20,10 +20,6 @@ SHA1 (patch-lldb_include_lldb_Utility_regex2.h) = 29baebb18b53d4b7782400bee27373
SHA1 (patch-lldb_include_lldb_Utility_regex__impl.h) = 438ea79c00a2aab9c48af766dc4772a4bcf0b60b
SHA1 (patch-lldb_include_lldb_Utility_regutils.h) = 32720727b719332123135536bdb4240cfc9db928
SHA1 (patch-lldb_scripts_CMakeLists.txt) = 7381e2905b2582c49e13f1e1190f3b4192271e68
SHA1 (patch-lldb_source_Plugins_Process_Utility_CMakeLists.txt) = 2ec8229e61d610dba6e3d0bd1aaa414297a1cee8
SHA1 (patch-lldb_source_Plugins_Process_Utility_NetBSDSignals.cpp) = c3544142f3f72bc75fdf3727432c0b091c8c5f4f
SHA1 (patch-lldb_source_Plugins_Process_Utility_NetBSDSignals.h) = 4693774e29215b1a1abff757b31c82abe42e78b7
SHA1 (patch-lldb_source_Target_UnixSignals.cpp) = 1c3987620e81420df7209fb727979b920bf85610
SHA1 (patch-lldb_source_Utility_CMakeLists.txt) = 30a81e6b255c542011e2d9162f2516739df18c31
SHA1 (patch-lldb_source_Utility_regcomp.c) = 053fb3a61237d05e5f5ef26ab7f3be78240615e6
SHA1 (patch-lldb_source_Utility_regerror.c) = 71ed26ead0588ab2bbcc92c4e94622a988b0f19b

View file

@ -1,12 +0,0 @@
$NetBSD$
--- lldb/source/Plugins/Process/Utility/CMakeLists.txt.orig 2015-12-06 02:57:30.000000000 +0000
+++ lldb/source/Plugins/Process/Utility/CMakeLists.txt
@@ -3,6 +3,7 @@ include_directories(../../../Utility/)
add_lldb_library(lldbPluginProcessUtility
DynamicRegisterInfo.cpp
FreeBSDSignals.cpp
+ NetBSDSignals.cpp
GDBRemoteSignals.cpp
HistoryThread.cpp
HistoryUnwind.cpp

View file

@ -1,39 +0,0 @@
$NetBSD$
--- lldb/source/Plugins/Process/Utility/NetBSDSignals.cpp.orig 2015-12-13 05:13:01.000000000 +0000
+++ lldb/source/Plugins/Process/Utility/NetBSDSignals.cpp
@@ -0,0 +1,34 @@
+//===-- NetBSDSignals.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 "NetBSDSignals.h"
+
+using namespace lldb_private;
+
+NetBSDSignals::NetBSDSignals()
+ : UnixSignals()
+{
+ Reset();
+}
+
+void
+NetBSDSignals::Reset()
+{
+ UnixSignals::Reset();
+ // SIGNO NAME SUPPRESS STOP NOTIFY DESCRIPTION
+ // ====== ============ ======== ====== ====== ===================================================
+ AddSignal (32, "SIGPWR", false, true , true , "power fail/restart (not reset when caught)");
+#ifdef SIGRTMIN /* SIGRTMAX */
+ /* Kernel only; not exposed to userland yet */
+#endif
+}

View file

@ -1,36 +0,0 @@
$NetBSD$
--- lldb/source/Plugins/Process/Utility/NetBSDSignals.h.orig 2015-12-13 05:10:49.000000000 +0000
+++ lldb/source/Plugins/Process/Utility/NetBSDSignals.h
@@ -0,0 +1,31 @@
+//===-- NetBSDSignals.h ----------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef liblldb_NetBSDSignals_H_
+#define liblldb_NetBSDSignals_H_
+
+// Project includes
+#include "lldb/Target/UnixSignals.h"
+
+namespace lldb_private {
+
+/// NetBSD specific set of Unix signals.
+class NetBSDSignals : public UnixSignals
+{
+public:
+ NetBSDSignals();
+
+private:
+ void
+ Reset() override;
+};
+
+} // namespace lldb_private
+
+#endif // liblldb_NetBSDSignals_H_

View file

@ -1,23 +0,0 @@
$NetBSD$
--- lldb/source/Target/UnixSignals.cpp.orig 2015-12-06 02:57:30.000000000 +0000
+++ lldb/source/Target/UnixSignals.cpp
@@ -19,6 +19,7 @@
#include "Plugins/Process/Utility/FreeBSDSignals.h"
#include "Plugins/Process/Utility/LinuxSignals.h"
#include "Plugins/Process/Utility/MipsLinuxSignals.h"
+#include "Plugins/Process/Utility/NetBSDSignals.h"
using namespace lldb_private;
@@ -63,8 +64,9 @@ UnixSignals::Create(const ArchSpec &arch
}
case llvm::Triple::FreeBSD:
case llvm::Triple::OpenBSD:
- case llvm::Triple::NetBSD:
return std::make_shared<FreeBSDSignals>();
+ case llvm::Triple::NetBSD:
+ return std::make_shared<NetBSDSignals>();
default:
return std::make_shared<UnixSignals>();
}