pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lldb-netbsd: Enable AUXV reading code on NetBSD
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Fri Mar 3 08:26:05 2017 +0100
Changeset: 9a26092c358ebdb9094d3648cd5cd3645f6aa9c8
Modified Files:
lldb-netbsd/distinfo
Added Files:
lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp
Log Message:
lldb-netbsd: Enable AUXV reading code on NetBSD
Work in progress.
This enables qXfer:auxv:read.
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=9a26092c358ebdb9094d3648cd5cd3645f6aa9c8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lldb-netbsd/distinfo | 1 +
...gdb-remote_GDBRemoteCommunicationServerLLGS.cpp | 22 ++++++++++++++++++++++
2 files changed, 23 insertions(+)
diffs:
diff --git a/lldb-netbsd/distinfo b/lldb-netbsd/distinfo
index 14ddd43939..cb3726abab 100644
--- a/lldb-netbsd/distinfo
+++ b/lldb-netbsd/distinfo
@@ -32,4 +32,5 @@ SHA1 (patch-source_Plugins_Process_NetBSD_NativeRegisterContextNetBSD__x86__64.h
SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.cpp) = cb8757705327e62273bfe9a84dbdbf9cb9b0751a
SHA1 (patch-source_Plugins_Process_NetBSD_NativeThreadNetBSD.h) = c675af8495a75f99bb60cb4ab3fa36223f1cb6f4
SHA1 (patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerCommon.cpp) = 76e3f6a3e0a24a28a2f5a30e8812906f8a2b2649
+SHA1 (patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp) = 150f5564b91eb4e39165e24cd68bda4182be8a7a
SHA1 (patch-tools_lldb-server_CMakeLists.txt) = 9804b083a1aa0cb7fa06b840a71c28424ad8e01d
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
new file mode 100644
index 0000000000..276a6289d5
--- /dev/null
+++ b/lldb-netbsd/patches/patch-source_Plugins_Process_gdb-remote_GDBRemoteCommunicationServerLLGS.cpp
@@ -0,0 +1,22 @@
+$NetBSD$
+
+--- source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp.orig 2017-02-27 20:47:52.000000000 +0000
++++ source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
+@@ -2666,7 +2666,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.
+@@ -3222,7 +3222,7 @@ void GDBRemoteCommunicationServerLLGS::C
+
+ // Clear any auxv cached data.
+ // *BSD impls should be able to do this too.
+-#if defined(__linux__)
++#if defined(__linux__) || defined(__NetBSD__)
+ if (log)
+ log->Printf("GDBRemoteCommunicationServerLLGS::%s clearing auxv buffer "
+ "(previously %s)",
Home |
Main Index |
Thread Index |
Old Index