pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lldb-netbsd: Reduce differences between Linux and NetBSD Platform plugins



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Dec 19 18:01:42 2016 +0100
Changeset:	09dc96039d0b94f69095c13eeb741706dabc836a

Modified Files:
	lldb-netbsd/distinfo
Added Files:
	lldb-netbsd/patches/patch-source_Plugins_Platform_NetBSD_PlatformNetBSD.cpp

Log Message:
lldb-netbsd: Reduce differences between Linux and NetBSD Platform plugins

Linux code is closer for new approach of the process plugin.

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=09dc96039d0b94f69095c13eeb741706dabc836a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 lldb-netbsd/distinfo                               |  1 +
 ...urce_Plugins_Platform_NetBSD_PlatformNetBSD.cpp | 26 ++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 7a187f5..c6065b6 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -22,6 +22,7 @@ SHA1 (patch-source_Host_netbsd_HostThreadNetBSD.cpp) = a1b0fbdad062309a845cfefe4
 SHA1 (patch-source_Host_netbsd_ProcessLauncherNetBSD.cpp) = 8b36c0b8d5c75ce501e4848ca07392a7aab68877
 SHA1 (patch-source_Host_netbsd_ThisThread.cpp) = f0d32c81bc1b8fe9aeb86519ea46ba2cb16571c2
 SHA1 (patch-source_Initialization_SystemInitializerCommon.cpp) = b8a2f94eb71dbd265701fdd62e3d36bc0d7081f1
+SHA1 (patch-source_Plugins_Platform_NetBSD_PlatformNetBSD.cpp) = d22fdf0ee01ccee13d40e69e791420e8bd195598
 SHA1 (patch-source_Plugins_Process_CMakeLists.txt) = c0168f81da56d9896eb414e6b8bb7262de04ac33
 SHA1 (patch-source_Plugins_Process_NetBSD_CMakeLists.txt) = df17afdf71c29d945c887e318718904793cd48ad
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = f83c6cdb1c66713707e723a342ddfd864048ddba
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Platform_NetBSD_PlatformNetBSD.cpp b/lldb-netbsd/patches/patch-source_Plugins_Platform_NetBSD_PlatformNetBSD.cpp
new file mode 100644
index 0000000..f0ea13a
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Platform_NetBSD_PlatformNetBSD.cpp
@@ -0,0 +1,26 @@
+$NetBSD$
+
+--- source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp.orig	2016-12-17 10:29:30.000000000 +0000
++++ source/Plugins/Platform/NetBSD/PlatformNetBSD.cpp
+@@ -34,6 +34,12 @@ using namespace lldb;
+ using namespace lldb_private;
+ using namespace lldb_private::platform_netbsd;
+ 
++static uint32_t g_initialize_count = 0;
++
++//------------------------------------------------------------------
++/// Code to handle the PlatformNetBSD settings
++//------------------------------------------------------------------
++
+ PlatformSP PlatformNetBSD::CreateInstance(bool force, const ArchSpec *arch) {
+   // The only time we create an instance is when we are creating a remote
+   // netbsd platform
+@@ -73,8 +79,6 @@ const char *PlatformNetBSD::GetDescripti
+     return "Remote NetBSD user platform plug-in.";
+ }
+ 
+-static uint32_t g_initialize_count = 0;
+-
+ void PlatformNetBSD::Initialize() {
+   Platform::Initialize();
+ 


Home | Main Index | Thread Index | Old Index