pkgsrc-WIP-changes archive

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

lldb-git: Fix build in RegisterContextNetBSD_x86_64



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Sat Jan 23 16:03:15 2016 +0100
Changeset:	204df19c8bf5ad9f8576dc08e1a23835f0d5e653

Modified Files:
	lldb-git/distinfo
	lldb-git/patches/patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp

Log Message:
lldb-git: Fix build in RegisterContextNetBSD_x86_64

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=204df19c8bf5ad9f8576dc08e1a23835f0d5e653

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

diffstat:
 lldb-git/distinfo                                           |  2 +-
 ...ugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp | 13 ++++++++++---
 2 files changed, 11 insertions(+), 4 deletions(-)

diffs:
diff --git a/lldb-git/distinfo b/lldb-git/distinfo
index 424b00c..ee12bcb 100644
--- a/lldb-git/distinfo
+++ b/lldb-git/distinfo
@@ -21,7 +21,7 @@ SHA1 (patch-lldb_include_lldb_Utility_regex__impl.h) = bcf360a61912ee0730966eec2
 SHA1 (patch-lldb_include_lldb_Utility_regutils.h) = b7347d263781170a017c012522be8dd806bcf585
 SHA1 (patch-lldb_scripts_CMakeLists.txt) = 46e02f8f07e6977df706b2f2bae3469a4b13a320
 SHA1 (patch-lldb_source_Plugins_Process_Utility_CMakeLists.txt) = 9d0d67f17bbf05061894490430844d5f70ebd6e0
-SHA1 (patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp) = 6ae47c760beebcabc0a212e9d82a8f2d56cd33e0
+SHA1 (patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp) = f5315f4fc51d92eeefe24af1a3385b49b3871403
 SHA1 (patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.h) = 473673971adf6927af6d597767c80ec6e95d79b6
 SHA1 (patch-lldb_source_Utility_CMakeLists.txt) = 3588546023de817eef056ceb26d8b2859484122f
 SHA1 (patch-lldb_source_Utility_regcomp.c) = bbe8132f8454b064c775a75a1380717e9deb6489
diff --git a/lldb-git/patches/patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp b/lldb-git/patches/patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp
index 3aa2e4a..f9be2a9 100644
--- a/lldb-git/patches/patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp
+++ b/lldb-git/patches/patch-lldb_source_Plugins_Process_Utility_RegisterContextNetBSD__x86__64.cpp
@@ -1,8 +1,8 @@
 $NetBSD$
 
---- lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp.orig	2016-01-23 13:46:39.000000000 +0000
+--- lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp.orig	2016-01-23 15:05:04.000000000 +0000
 +++ lldb/source/Plugins/Process/Utility/RegisterContextNetBSD_x86_64.cpp
-@@ -0,0 +1,117 @@
+@@ -0,0 +1,124 @@
 +//===-- RegisterContextNetBSD_x86_64.cpp ----------------------*- C++ -*-===//
 +//
 +//                     The LLVM Compiler Infrastructure
@@ -45,17 +45,24 @@ $NetBSD$
 +    int64_t err;     /* 20 */
 +    int64_t rip;     /* 21 */
 +    int64_t cs;      /* 22 */
-+    int64_t eflags;  /* 23 */
++    int64_t rflags;  /* 23 */
 +    int64_t rsp;     /* 24 */
 +    int64_t ss;      /* 25 */
 +} GPR;
 +
 +struct DBG {
++    int64_t dr[8];
 +};
 +
 +struct UserArea {
++    GPR      gpr;
++    FPR      fpr;
++    DBG      dbg;
 +};
 +
++#define DR_OFFSET(reg_index) \
++    (LLVM_EXTENSION offsetof(DBG, dr[reg_index]))
++
 +//---------------------------------------------------------------------------
 +// Include RegisterInfos_x86_64 to declare our g_register_infos_x86_64 structure.
 +//---------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index