pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lldb-netbsd: Fix compilation stage issues
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Wed Mar 22 00:35:49 2017 +0100
Changeset: 2f1e1f70d694fe6f30348a7547e6b4e54eb9ff82
Modified Files:
lldb-netbsd/distinfo
lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
Log Message:
lldb-netbsd: Fix compilation stage issues
Linking issues has to be solved.
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=2f1e1f70d694fe6f30348a7547e6b4e54eb9ff82
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lldb-netbsd/distinfo | 4 ++--
...ce_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h | 14 +-------------
...ch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp | 6 +++++-
3 files changed, 8 insertions(+), 16 deletions(-)
diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 39e065c679..54c568e343 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -21,10 +21,10 @@ SHA1 (patch-source_Plugins_Process_NetBSD_CMakeLists.txt) = 558379a5f3b47235dbf6
SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = d4695c351974a6df766b4f4b63acf2314541cc46
SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = 3c9d87046a4399f4ca8a48721b81b49b416ac3e0
SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp) = 53e098aaaf0b124d98ce57569065924cd8569151
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h) = aa598445b9ab7495cb2c53765bf8a5b1444cab12
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h) = be4c4eae10cf5d18ad6e6f0523aaf59ce60cde5b
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) = d7bf60f9197bb74e596eff10afd2d637fb31bbef
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = 872d32b6f534c1fbcb1c6c2c584085b161d07f74
SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h) = cc8cfee5f3740e2495282f376428963bb388b844
SHA1 (patch-source_Plugins_Process_elf-core_ThreadElfCore.cpp) = 3427bd2e2de3cd2947123c2f20ed8d5082a16ace
SHA1 (patch-source_Plugins_Process_minidump_ProcessMinidump.cpp) = a71464df2ef56b8b2c8905e8169a85a05cfd27ba
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 af964e6700..45a02212c8 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
@@ -2,23 +2,11 @@ $NetBSD$
--- source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h.orig 2017-03-21 20:01:05.000000000 +0000
+++ source/Plugins/Process/NetBSD/NativeRegisterContextNetBSD.h
-@@ -33,6 +33,53 @@ public:
+@@ -33,6 +33,41 @@ public:
CreateHostNativeRegisterContextNetBSD(const ArchSpec &target_arch,
NativeThreadProtocol &native_thread,
uint32_t concrete_frame_idx);
+
-+ // This function is implemented in the NativeRegisterContextNetBSD_* subclasses
-+ // to create a new
-+ // instance of the host specific NativeRegisterContextNetBSD. The
-+ // implementations can't collide
-+ // as only one NativeRegisterContextNetBSD_* variant should be compiled into
-+ // the final
-+ // executable.
-+ static NativeRegisterContextNetBSD *
-+ CreateHostNativeRegisterContextNetBSD(const ArchSpec &target_arch,
-+ NativeThreadProtocol &native_thread,
-+ uint32_t concrete_frame_idx);
-+
+protected:
+ lldb::ByteOrder GetByteOrder() const;
+
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 06201d1021..fe98255f14 100644
--- a/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
@@ -2,17 +2,21 @@ $NetBSD$
--- source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp.orig 2017-03-21 20:01:05.000000000 +0000
+++ source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp
-@@ -11,11 +11,394 @@
+@@ -11,11 +11,398 @@
#include "NativeRegisterContextNetBSD.h"
#include "NativeProcessNetBSD.h"
+#include "lldb/Core/RegisterValue.h"
++#include "lldb/Core/State.h"
+
+#include "Plugins/Process/POSIX/ProcessPOSIXLog.h"
+
++#include <sstream>
++
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/ptrace.h>
++#include <sys/poll.h>
using namespace lldb;
using namespace lldb_private;
Home |
Main Index |
Thread Index |
Old Index