pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lldb-git: Small cleanup before sending for review
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Sun Mar 26 15:37:26 2017 +0200
Changeset: 6b42354d4d377ace9bd22243074af1b51dd9a8df
Modified Files:
lldb-git/distinfo
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
Log Message:
lldb-git: Small cleanup before sending for review
There should not be a functional change.
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=6b42354d4d377ace9bd22243074af1b51dd9a8df
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lldb-git/distinfo | 8 ++++----
.../patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp | 2 +-
...source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp | 2 +-
...h-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h | 2 +-
.../patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp | 9 +--------
5 files changed, 8 insertions(+), 15 deletions(-)
diffs:
diff --git a/lldb-git/distinfo b/lldb-git/distinfo
index f776179861..953b462cb1 100644
--- a/lldb-git/distinfo
+++ b/lldb-git/distinfo
@@ -13,11 +13,11 @@ 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_Plugins_Process_NetBSD_CMakeLists.txt) = 4af51b7cd3d344e503436a456ba4c3021f5ea420
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 015b6356a543fad63def9d14a38668480982f532
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp) = 041afad9fa82b85be6a7ab216e012948c1e2fca7
SHA1 (patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.h) = bcad5c8debb05c44f95a1d00d124314be824ec1d
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp) = 85263360ba595a703b089a76af3b5ca54b689edc
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h) = 7ef78e3cc7e45ba79a66b5555d526efeefe29090
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp) = f649f540c3073bc8f111b28006c737e075776f8a
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h) = 2cdd8209e096ef2feffa93f8797b4cb996d3465e
SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.cpp) = 6ba98edbfffef92b87b8d93d438cae72ea11f392
SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.h) = 6e1385ffe58efc8a39151df1ed57d7c253edda4e
-SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = 7984820fd37e7e95e7d4827c4cc30310e4751d7e
+SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = de62bab4ae9a96efb16b286883337553509e9c91
SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h) = 2ad544c23cd6398c54b6d06a1b252aa19af8e5d5
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
index 485c46716c..ee0613e02f 100644
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
+++ b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeProcessNetBSD.cpp
@@ -263,7 +263,7 @@ $NetBSD$
+ if (result)
+ *result = ret;
+
-+ LLDB_LOG(log, "ptrace({0}, {1}, {2}, {3}, {4})={6:x}", req, pid, addr, data,
++ LLDB_LOG(log, "ptrace({0}, {1}, {2}, {3})={4:x}", req, pid, addr, data,
+ ret);
+
+ if (error.Fail())
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
index 6d1014bdce..a5183e03c6 100644
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
+++ b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.cpp
@@ -53,7 +53,7 @@ $NetBSD$
+ return *process_sp;
+}
+
-+pid_t NativeRegisterContextNetBSD::GetProcessPid() {
++::pid_t NativeRegisterContextNetBSD::GetProcessPid() {
+ NativeProcessNetBSD &process = GetProcess();
+ lldb::pid_t pid = process.GetID();
+
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
index 6412d3b4c7..9b95ce0ef5 100644
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
+++ b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD.h
@@ -18,7 +18,7 @@ $NetBSD$
+ virtual Error DoWriteGPR(void *buf);
+
+ virtual NativeProcessNetBSD &GetProcess();
-+ virtual pid_t GetProcessPid();
++ virtual ::pid_t GetProcessPid();
};
} // namespace process_netbsd
diff --git a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
index 9aa76961c5..febe5ed35f 100644
--- a/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
+++ b/lldb-git/patches/patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp
@@ -2,7 +2,7 @@ $NetBSD$
--- source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp.orig 2017-03-21 17:54:57.000000000 +0000
+++ source/Plugins/Process/NetBSD/NativeThreadNetBSD.cpp
-@@ -12,10 +12,152 @@
+@@ -12,10 +12,145 @@
#include "NativeProcessNetBSD.h"
@@ -72,13 +72,6 @@ $NetBSD$
+}
+
+std::string NativeThreadNetBSD::GetName() {
-+ NativeProcessProtocolSP process_sp = m_process_wp.lock();
-+ if (!process_sp)
-+ return "<unknown: no process>";
-+
-+ // const NativeProcessNetBSD *const process =
-+ // reinterpret_cast<NativeProcessNetBSD*> (process_sp->get ());
-+ llvm::SmallString<32> thread_name;
+ return std::string("");
+}
+
Home |
Main Index |
Thread Index |
Old Index