pkgsrc-WIP-changes archive

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

lldb-netbsd: Dummy rebase of local patches for new SVN release



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Tue Mar 21 21:03:29 2017 +0100
Changeset:	7f6ea75836ed41324883be85c44da70a77006821

Modified Files:
	lldb-netbsd/distinfo
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h
Removed Files:
	lldb-netbsd/patches/patch-source_Core_FormatEntity.cpp
	lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp
	lldb-netbsd/patches/patch-source_Plugins_DynamicLoader_POSIX-DYLD_DynamicLoaderPOSIXDYLD.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
	lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt
	lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerCommon.cpp
	lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp
	lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt

Log Message:
lldb-netbsd: Dummy rebase of local patches for new SVN release

These patches will need to be redone and reviewed from scratch.
A lot of the code (with featured functions) conflicts with the minimal stub
that landed upstream.

Some patches have been merged upstream and have been removed with this commit.

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

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

diffstat:
 lldb-netbsd/distinfo                               | 20 +++++------------
 .../patches/patch-source_Core_FormatEntity.cpp     | 14 ------------
 ...urce_Initialization_SystemInitializerCommon.cpp | 22 ------------------
 ...micLoader_POSIX-DYLD_DynamicLoaderPOSIXDYLD.cpp | 14 ------------
 .../patch-source_Plugins_Process_CMakeLists.txt    | 12 ----------
 ...ch-source_Plugins_Process_NetBSD_CMakeLists.txt | 26 ----------------------
 ..._Plugins_Process_NetBSD_NativeProcessNetBSD.cpp |  7 ++++--
 ...ce_Plugins_Process_NetBSD_NativeProcessNetBSD.h |  7 ++++--
 ..._Process_NetBSD_NativeRegisterContextNetBSD.cpp |  7 ++++--
 ...ns_Process_NetBSD_NativeRegisterContextNetBSD.h |  7 ++++--
 ...e_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp |  7 ++++--
 ...rce_Plugins_Process_NetBSD_NativeThreadNetBSD.h |  7 ++++--
 ...b-remote_GDBRemoteCommunicationServerCommon.cpp | 13 -----------
 ...gdb-remote_GDBRemoteCommunicationServerLLGS.cpp | 13 -----------
 .../patches/patch-tools_lldb-server_CMakeLists.txt | 12 ----------
 15 files changed, 36 insertions(+), 152 deletions(-)

diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index b3ff7545e9..64cfad3dbc 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -13,25 +13,17 @@ SHA1 (llvm-3.6.2.src.tar.xz) = 7a00257eb2bc9431e4c77c3a36b033072c54bc7e
 RMD160 (llvm-3.6.2.src.tar.xz) = 521cbc5fe2925ea3c6e90c7a31f752a04045c972
 Size (llvm-3.6.2.src.tar.xz) = 12802380 bytes
 SHA1 (patch-source_CMakeLists.txt) = 5dacabc3f39c23bdfd432b5a4895866157b97aa0
-SHA1 (patch-source_Core_FormatEntity.cpp) = d0ccec75b69864f4b6c4e56587bd272f8b0beb01
 SHA1 (patch-source_Host_common_Host.cpp) = 7d48b8bb1e4350ba6d3ddc6357b9b8dc82d6b32d
 SHA1 (patch-source_Host_common_NativeProcessProtocol.cpp) = 23cc7da280b2123cf0206f3d5660d2647935edbc
 SHA1 (patch-source_Host_netbsd_Host.cpp) = 92ea9aa9c21d11126e7532a860e59f408175d8d4
-SHA1 (patch-source_Initialization_SystemInitializerCommon.cpp) = dc270227e68c655753ef5f5168e3fa9a8dab3696
 SHA1 (patch-source_Plugins_DynamicLoader_POSIX-DYLD_DYLDRendezvous.cpp) = 32d683eb388ded96e7f9aedec827202b5b056392
-SHA1 (patch-source_Plugins_DynamicLoader_POSIX-DYLD_DynamicLoaderPOSIXDYLD.cpp) = ed8077e029281f6d1a9f043edc5a3b16d126eea2
-SHA1 (patch-source_Plugins_Process_CMakeLists.txt) = c689ff4ec455234f8d506dc9eb8e0ed7f750d426
-SHA1 (patch-source_Plugins_Process_NetBSD_CMakeLists.txt) = a77f397020ab752875813a7a93b53ccd3a130e6f
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 3d9df69888f03b2c92a7714800376857892238b7
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = 740ff4ad3a66acf9fabae4f0d56fde5360076f48
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp) = 89a9f56d1ee3103ac73c274f233f0d6816e20363
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h) = dccd470b53937f58c5697f7e2507cc76db497ce8
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 240348276e7dbb664d4372c00f1191d4bfc47a3d
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = f598dd24e1652ceca236d8db3604cbadce68f5be
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp) = 4625b126e809507c433b10f538b9e533cb42f4ec
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h) = 20ff7cf3e3ea20d225edc8dab0a7473baf9fe3ce
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp) = f6aaa6193389041476a05f022ad55e18b4ec0e20
 SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.h) = dee7f3fafaf4688d573075897293d42b498484bf
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = 532fba0c14becce84a555089f439258fa31f1846
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h) = c675af8495a75f99bb60cb4ab3fa36223f1cb6f4
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = 77b00e0d0708cd6a1dd92d88fd7d8650f054198d
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h) = 1fff4a45b90dc5c47fc7beac345dbe693dfcc4dc
 SHA1 (patch-source_Plugins_Process_elf-core_ThreadElfCore.cpp) = 3427bd2e2de3cd2947123c2f20ed8d5082a16ace
-SHA1 (patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerCommon.cpp) = 76e3f6a3e0a24a28a2f5a30e8812906f8a2b2649
-SHA1 (patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp) = 4e3de4e471d81d2d64e9483fb63ccf97841fdf61
 SHA1 (patch-source_Plugins_Process_minidump_ProcessMinidump.cpp) = a71464df2ef56b8b2c8905e8169a85a05cfd27ba
-SHA1 (patch-tools_lldb-server_CMakeLists.txt) = 9804b083a1aa0cb7fa06b840a71c28424ad8e01d
diff --git a/lldb-netbsd/patches/patch-source_Core_FormatEntity.cpp b/lldb-netbsd/patches/patch-source_Core_FormatEntity.cpp
deleted file mode 100644
index 82b185a1d5..0000000000
--- a/lldb-netbsd/patches/patch-source_Core_FormatEntity.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- source/Core/FormatEntity.cpp.orig	2017-02-04 18:35:35.000000000 +0000
-+++ source/Core/FormatEntity.cpp
-@@ -1187,7 +1187,8 @@ bool FormatEntity::Format(const Entry &e
-                                               ? arch.GetTriple().getOS()
-                                               : llvm::Triple::UnknownOS;
-             if ((ostype == llvm::Triple::FreeBSD) ||
--                (ostype == llvm::Triple::Linux)) {
-+                (ostype == llvm::Triple::Linux) ||
-+                (ostype == llvm::Triple::NetBSD)) {
-               format = "%" PRIu64;
-             }
-           } else {
diff --git a/lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp b/lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp
deleted file mode 100644
index 26187ca7ab..0000000000
--- a/lldb-netbsd/patches/patch-source_Initialization_SystemInitializerCommon.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
-$NetBSD$
-
---- source/Initialization/SystemInitializerCommon.cpp.orig	2017-02-27 20:47:53.000000000 +0000
-+++ source/Initialization/SystemInitializerCommon.cpp
-@@ -26,7 +26,7 @@
- #include "Plugins/ObjectFile/Mach-O/ObjectFileMachO.h"
- #endif
- 
--#if defined(__linux__) || defined(__FreeBSD__)
-+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
- #include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
- #endif
- 
-@@ -93,7 +93,7 @@ void SystemInitializerCommon::Initialize
- #if defined(__APPLE__)
-   ObjectFileMachO::Initialize();
- #endif
--#if defined(__linux__) || defined(__FreeBSD__)
-+#if defined(__linux__) || defined(__FreeBSD__) || defined(__NetBSD__)
-   ProcessPOSIXLog::Initialize();
- #endif
- #if defined(_MSC_VER)
diff --git a/lldb-netbsd/patches/patch-source_Plugins_DynamicLoader_POSIX-DYLD_DynamicLoaderPOSIXDYLD.cpp b/lldb-netbsd/patches/patch-source_Plugins_DynamicLoader_POSIX-DYLD_DynamicLoaderPOSIXDYLD.cpp
deleted file mode 100644
index aed602e31d..0000000000
--- a/lldb-netbsd/patches/patch-source_Plugins_DynamicLoader_POSIX-DYLD_DynamicLoaderPOSIXDYLD.cpp
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD$
-
---- source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp.orig	2016-12-17 10:29:49.000000000 +0000
-+++ source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
-@@ -64,7 +64,8 @@ DynamicLoader *DynamicLoaderPOSIXDYLD::C
-     const llvm::Triple &triple_ref =
-         process->GetTarget().GetArchitecture().GetTriple();
-     if (triple_ref.getOS() == llvm::Triple::Linux ||
--        triple_ref.getOS() == llvm::Triple::FreeBSD)
-+        triple_ref.getOS() == llvm::Triple::FreeBSD ||
-+        triple_ref.getOS() == llvm::Triple::NetBSD)
-       create = true;
-   }
- 
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt b/lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
deleted file mode 100644
index e76d204998..0000000000
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/CMakeLists.txt.orig	2017-01-31 17:20:57.000000000 +0000
-+++ source/Plugins/Process/CMakeLists.txt
-@@ -5,6 +5,7 @@ elseif (CMAKE_SYSTEM_NAME MATCHES "FreeB
-   add_subdirectory(FreeBSD)
-   add_subdirectory(POSIX)
- elseif (CMAKE_SYSTEM_NAME MATCHES "NetBSD")
-+  add_subdirectory(NetBSD)
-   add_subdirectory(POSIX)
- elseif (CMAKE_SYSTEM_NAME MATCHES "Windows")
-   add_subdirectory(Windows/Common)
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt
deleted file mode 100644
index 5c84ec98f0..0000000000
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_CMakeLists.txt
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/NetBSD/CMakeLists.txt.orig	2017-02-28 07:44:53.240798593 +0000
-+++ source/Plugins/Process/NetBSD/CMakeLists.txt
-@@ -0,0 +1,21 @@
-+include_directories(.)
-+include_directories(../POSIX)
-+include_directories(../Utility)
-+
-+add_lldb_library(lldbPluginProcessNetBSD PLUGIN
-+  NativeProcessNetBSD.cpp
-+  NativeRegisterContextNetBSD.cpp
-+  NativeRegisterContextNetBSD_x86_64.cpp
-+  NativeThreadNetBSD.cpp
-+
-+  LINK_LIBS
-+    lldbCore
-+    lldbHost
-+    lldbSymbol
-+    lldbTarget
-+    lldbUtility
-+    lldbPluginProcessPOSIX
-+    lldbPluginProcessUtility
-+  LINK_COMPONENTS
-+    Support
-+  )
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
index 89f789616e..fdb135ec31 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp.orig	2017-03-18 01:37:22.314666401 +0000
+--- source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp.orig	2017-03-21 20:01:05.000000000 +0000
 +++ source/Plugins/Process/NetBSD/NativeProcessNetBSD.cpp
-@@ -0,0 +1,1414 @@
+@@ -1,3 +1,1417 @@
 +//===-- NativeProcessNetBSD.cpp -------------------------------- -*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -1417,3 +1417,6 @@ $NetBSD$
 +
 +  return error;
 +}
+ //===-- NativeProcessNetBSD.cpp ------------------------------- -*- C++ -*-===//
+ //
+ //                     The LLVM Compiler Infrastructure
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
index de2fda273c..0eb9e8327b 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- source/Plugins/Process/NetBSD/NativeProcessNetBSD.h.orig	2017-03-18 01:37:22.321590104 +0000
+--- source/Plugins/Process/NetBSD/NativeProcessNetBSD.h.orig	2017-03-21 20:01:05.000000000 +0000
 +++ source/Plugins/Process/NetBSD/NativeProcessNetBSD.h
-@@ -0,0 +1,188 @@
+@@ -1,3 +1,191 @@
 +//===-- NativeProcessNetBSD.h ---------------------------------- -*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -191,3 +191,6 @@ $NetBSD$
 +} // namespace lldb_private
 +
 +#endif // #ifndef liblldb_NativeProcessNetBSD_H_
+ //===-- NativeProcessNetBSD.h --------------------------------- -*- C++ -*-===//
+ //
+ //                     The LLVM Compiler Infrastructure
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
index 9c6172640a..308f970ffe 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.cpp.orig	2017-03-13 11:59:28.714727351 +0000
+--- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.cpp.orig	2017-03-21 20:01:05.000000000 +0000
 +++ source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.cpp
-@@ -0,0 +1,112 @@
+@@ -1,3 +1,115 @@
 +//===-- NativeRegisterContextNetBSD.cpp --------------------------*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -115,3 +115,6 @@ $NetBSD$
 +
 +  return pid;
 +}
+ //===-- NativeRegisterContextNetBSD.cpp -------------------------*- C++ -*-===//
+ //
+ //                     The LLVM Compiler Infrastructure
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
index 2029fae990..a8e0cc15eb 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h.orig	2017-03-13 11:59:28.721350583 +0000
+--- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h.orig	2017-03-21 20:01:05.000000000 +0000
 +++ source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h
-@@ -0,0 +1,78 @@
+@@ -1,3 +1,81 @@
 +//===-- NativeRegisterContextNetBSD.h ----------------------------*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -81,3 +81,6 @@ $NetBSD$
 +} // namespace lldb_private
 +
 +#endif // #ifndef lldb_NativeRegisterContextNetBSD_h
+ //===-- NativeRegisterContextNetBSD.h ---------------------------*- C++ -*-===//
+ //
+ //                     The LLVM Compiler Infrastructure
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
index c8ec728d5b..454a7884b4 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp.orig	2017-03-18 01:37:22.354054370 +0000
+--- source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp.orig	2017-03-21 20:01:05.000000000 +0000
 +++ source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp
-@@ -0,0 +1,414 @@
+@@ -1,3 +1,417 @@
 +//===-- NativeThreadNetBSD.cpp --------------------------------- -*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -417,3 +417,6 @@ $NetBSD$
 +Error NativeThreadNetBSD::RemoveHardwareBreakpoint(lldb::addr_t addr) {
 +  return Error();
 +}
+ //===-- NativeThreadNetBSD.cpp -------------------------------- -*- C++ -*-===//
+ //
+ //                     The LLVM Compiler Infrastructure
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h
index f01cf652f2..dc2eb5ae72 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- source/Plugins/Process/NetBSD/NativeThreadNetBSD.h.orig	2017-02-28 07:44:53.264708785 +0000
+--- source/Plugins/Process/NetBSD/NativeThreadNetBSD.h.orig	2017-03-21 20:01:05.000000000 +0000
 +++ source/Plugins/Process/NetBSD/NativeThreadNetBSD.h
-@@ -0,0 +1,91 @@
+@@ -1,3 +1,94 @@
 +//===-- NativeThreadNetBSD.h ----------------------------------- -*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -94,3 +94,6 @@ $NetBSD$
 +} // namespace lldb_private
 +
 +#endif // #ifndef liblldb_NativeThreadNetBSD_H_
+ //===-- NativeThreadNetBSD.h ---------------------------------- -*- C++ -*-===//
+ //
+ //                     The LLVM Compiler Infrastructure
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerCommon.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerCommon.cpp
deleted file mode 100644
index 5d9ac0d3b2..0000000000
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerCommon.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp.orig	2017-02-27 20:47:52.000000000 +0000
-+++ source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
-@@ -837,7 +837,7 @@ GDBRemoteCommunicationServerCommon::Hand
-   response.PutCString(";QThreadSuffixSupported+");
-   response.PutCString(";QListThreadsInStopReply+");
-   response.PutCString(";qEcho+");
--#if defined(__linux__)
-+#if defined(__linux__) || defined(__NetBSD__)
-   response.PutCString(";QPassSignals+");
-   response.PutCString(";qXfer:auxv:read+");
- #endif
diff --git a/lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp b/lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp
deleted file mode 100644
index 46f134cf9e..0000000000
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD$
-
---- source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp.orig	2017-03-18 01:35:30.062550938 +0000
-+++ source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
-@@ -2665,7 +2665,7 @@ GDBRemoteCommunication::PacketResult
- GDBRemoteCommunicationServerLLGS::Handle_qXfer_auxv_read(
-     StringExtractorGDBRemote &packet) {
- // *BSD impls should be able to do this too.
--#if defined(__linux__)
-+#if defined(__linux__) || defined(__NetBSD__)
-   Log *log(GetLogIfAnyCategoriesSet(LIBLLDB_LOG_PROCESS));
- 
-   // Parse out the offset.
diff --git a/lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt b/lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
deleted file mode 100644
index 3c7d07774c..0000000000
--- a/lldb-netbsd/patches/patch-tools_lldb-server_CMakeLists.txt
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD$
-
---- tools/lldb-server/CMakeLists.txt.orig	2017-02-10 22:40:56.029392963 +0000
-+++ tools/lldb-server/CMakeLists.txt
-@@ -17,6 +17,7 @@ endif ()
- if ( CMAKE_SYSTEM_NAME MATCHES "NetBSD" )
- include_directories(
-   ../../../../llvm/include
-+  ../../source/Plugins/Process/NetBSD
-   ../../source/Plugins/Process/POSIX
-   )
- endif ()


Home | Main Index | Thread Index | Old Index