pkgsrc-WIP-changes archive

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

lldb-netbsd: NetBSD no longer needs hack for attach/detach



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Mon Dec 19 03:35:37 2016 +0100
Changeset:	cad19bd4f66d2644fa5eb4da2e583a0d17b37398

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

Log Message:
lldb-netbsd: NetBSD no longer needs hack for attach/detach

This code is required only for the old-world process plugin, not intended to
be ever implemented on NetBSD.

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=cad19bd4f66d2644fa5eb4da2e583a0d17b37398

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

diffstat:
 lldb-netbsd/distinfo                                    |  1 +
 .../patch-source_Host_common_NativeProcessProtocol.cpp  | 17 +++++++++++++++++
 2 files changed, 18 insertions(+)

diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index a8d2448..359a0cf 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -16,6 +16,7 @@ SHA1 (patch-cmake_LLDBDependencies.cmake) = 81673d8624ca7a9ad60bcaf530587fbfbd69
 SHA1 (patch-include_lldb_Host_netbsd_HostThreadNetBSD.h) = 79f207cdb9da2ef57d39eeb307ec6d10cf828925
 SHA1 (patch-include_lldb_Host_netbsd_ProcessLauncherNetBSD.h) = 5422ae06ff064f0b522148a576a7e8d3b4ea1974
 SHA1 (patch-source_CMakeLists.txt) = 5dacabc3f39c23bdfd432b5a4895866157b97aa0
+SHA1 (patch-source_Host_common_NativeProcessProtocol.cpp) = 2446b1727d87e9d5e6e7a12f66d7263798ad554d
 SHA1 (patch-source_Host_netbsd_HostThreadNetBSD.cpp) = a1b0fbdad062309a845cfefe4469614fbbe9d20e
 SHA1 (patch-source_Host_netbsd_ThisThread.cpp) = f0d32c81bc1b8fe9aeb86519ea46ba2cb16571c2
 SHA1 (patch-source_Plugins_Process_CMakeLists.txt) = c0168f81da56d9896eb414e6b8bb7262de04ac33
diff --git a/lldb-netbsd/patches/patch-source_Host_common_NativeProcessProtocol.cpp b/lldb-netbsd/patches/patch-source_Host_common_NativeProcessProtocol.cpp
new file mode 100644
index 0000000..7abb871
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Host_common_NativeProcessProtocol.cpp
@@ -0,0 +1,17 @@
+$NetBSD$
+
+--- source/Host/common/NativeProcessProtocol.cpp.orig	2016-12-17 10:30:38.000000000 +0000
++++ source/Host/common/NativeProcessProtocol.cpp
+@@ -411,6 +411,7 @@ Error NativeProcessProtocol::ResolveProc
+ }
+ 
+ #ifndef __linux__
++#if !defined(__NetBSD__)
+ // These need to be implemented to support lldb-gdb-server on a given platform.
+ // Stubs are
+ // provided to make the rest of the code link on non-supported platforms.
+@@ -430,3 +431,4 @@ Error NativeProcessProtocol::Attach(lldb
+ }
+ 
+ #endif
++#endif


Home | Main Index | Thread Index | Old Index