pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lldb-netbsd: Support Real-Time Signals in NetBSDSignals.cpp
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Tue Jan 24 19:27:48 2017 +0100
Changeset: 70a317ec39a2e92f9fc23d9951d9fc75564fdae6
Modified Files:
lldb-netbsd/distinfo
Added Files:
lldb-netbsd/patches/patch-source_Plugins_Process_Utility_NetBSDSignals.cpp
Log Message:
lldb-netbsd: Support Real-Time Signals in NetBSDSignals.cpp
NetBSD-current supports SIGRTMIN-SIGRTMAX signals.
Sponsored by <The NetBSD Foundation>
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=70a317ec39a2e92f9fc23d9951d9fc75564fdae6
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lldb-netbsd/distinfo | 1 +
...ource_Plugins_Process_Utility_NetBSDSignals.cpp | 43 ++++++++++++++++++++++
2 files changed, 44 insertions(+)
diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 661ef18..4db16c8 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -33,6 +33,7 @@ SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 46ca5bd672a
SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = bdd9fe37e47de8fa626c7eacf81e07d47a76787c
SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = a92c655c447cc0829fdb48786f474929f09e1a71
SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h) = d251c4f1b52089f96d435a99f45353aa3992924a
+SHA1 (patch-source_Plugins_Process_Utility_NetBSDSignals.cpp) = b7bee2c33b0cdebc4928e3c5053c7f5915e9aff2
SHA1 (patch-tools_lldb-mi_MICmnBase.cpp) = 851c82ac61e1241018755fbd7236af00379ac986
SHA1 (patch-tools_lldb-mi_MICmnBase.h) = f550d5e10bcf02fb46472733acdbb820791f22e5
SHA1 (patch-tools_lldb-mi_MIDriver.cpp) = bf1b5399e82bcfe54d6d852f64ed155328f2064d
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_Utility_NetBSDSignals.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_Utility_NetBSDSignals.cpp
new file mode 100644
index 0000000..094113e
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_Utility_NetBSDSignals.cpp
@@ -0,0 +1,43 @@
+$NetBSD$
+
+--- source/Plugins/Process/Utility/NetBSDSignals.cpp.orig 2017-01-24 18:23:17.672929519 +0000
++++ source/Plugins/Process/Utility/NetBSDSignals.cpp
+@@ -24,7 +24,35 @@ void NetBSDSignals::Reset() {
+ // ===================================================
+ AddSignal(32, "SIGPWR", false, true, true,
+ "power fail/restart (not reset when caught)");
+-#ifdef SIGRTMIN /* SIGRTMAX */
+- /* Kernel only; not exposed to userland yet */
+-#endif
++ AddSignal(33, "SIGRTMIN", false, false, false, "real time signal 0");
++ AddSignal(34, "SIGRTMIN+1", false, false, false, "real time signal 1");
++ AddSignal(35, "SIGRTMIN+2", false, false, false, "real time signal 2");
++ AddSignal(36, "SIGRTMIN+3", false, false, false, "real time signal 3");
++ AddSignal(37, "SIGRTMIN+4", false, false, false, "real time signal 4");
++ AddSignal(38, "SIGRTMIN+5", false, false, false, "real time signal 5");
++ AddSignal(39, "SIGRTMIN+6", false, false, false, "real time signal 6");
++ AddSignal(40, "SIGRTMIN+7", false, false, false, "real time signal 7");
++ AddSignal(41, "SIGRTMIN+8", false, false, false, "real time signal 8");
++ AddSignal(42, "SIGRTMIN+9", false, false, false, "real time signal 9");
++ AddSignal(43, "SIGRTMIN+10", false, false, false, "real time signal 10");
++ AddSignal(44, "SIGRTMIN+11", false, false, false, "real time signal 11");
++ AddSignal(45, "SIGRTMIN+12", false, false, false, "real time signal 12");
++ AddSignal(46, "SIGRTMIN+13", false, false, false, "real time signal 13");
++ AddSignal(47, "SIGRTMIN+14", false, false, false, "real time signal 14");
++ AddSignal(48, "SIGRTMIN+15", false, false, false, "real time signal 15");
++ AddSignal(49, "SIGRTMIN-14", false, false, false, "real time signal 16");
++ AddSignal(50, "SIGRTMAX-13", false, false, false, "real time signal 17");
++ AddSignal(51, "SIGRTMAX-12", false, false, false, "real time signal 18");
++ AddSignal(52, "SIGRTMAX-11", false, false, false, "real time signal 19");
++ AddSignal(53, "SIGRTMAX-10", false, false, false, "real time signal 20");
++ AddSignal(54, "SIGRTMAX-9", false, false, false, "real time signal 21");
++ AddSignal(55, "SIGRTMAX-8", false, false, false, "real time signal 22");
++ AddSignal(56, "SIGRTMAX-7", false, false, false, "real time signal 23");
++ AddSignal(57, "SIGRTMAX-6", false, false, false, "real time signal 24");
++ AddSignal(58, "SIGRTMAX-5", false, false, false, "real time signal 25");
++ AddSignal(59, "SIGRTMAX-4", false, false, false, "real time signal 26");
++ AddSignal(60, "SIGRTMAX-3", false, false, false, "real time signal 27");
++ AddSignal(61, "SIGRTMAX-2", false, false, false, "real time signal 28");
++ AddSignal(62, "SIGRTMAX-1", false, false, false, "real time signal 29");
++ AddSignal(63, "SIGRTMAX", false, false, false, "real time signal 30");
+ }
Home |
Main Index |
Thread Index |
Old Index