pkgsrc-WIP-changes archive

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

coreclr-git: Add kludge to omit missing DAC_TABLE_RVA



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Feb 11 00:26:56 2016 +0100
Changeset:	3492ec31a4058f35142fe3f15c093cb15a0898bb

Modified Files:
	coreclr-git/distinfo
	coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
Added Files:
	coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_debugclient.h
	coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_inc_dbgeng.h

Log Message:
coreclr-git: Add kludge to omit missing DAC_TABLE_RVA

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

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

diffstat:
 coreclr-git/distinfo                                        |  4 +++-
 .../patches/patch-src_ToolBox_SOS_lldbplugin_debugclient.h  | 13 +++++++++++++
 .../patches/patch-src_ToolBox_SOS_lldbplugin_inc_dbgeng.h   | 13 +++++++++++++
 coreclr-git/patches/patch-src_debug_daccess_daccess.cpp     | 10 +++++-----
 4 files changed, 34 insertions(+), 6 deletions(-)

diffs:
diff --git a/coreclr-git/distinfo b/coreclr-git/distinfo
index 83b681c..17557d7 100644
--- a/coreclr-git/distinfo
+++ b/coreclr-git/distinfo
@@ -1,7 +1,9 @@
 $NetBSD$
 
 SHA1 (patch-build.sh) = 18610c0707583e6501a01b2c25644cbc91786d3e
-SHA1 (patch-src_debug_daccess_daccess.cpp) = 7c154b6e049ac6a3280db3d5b5c91b0195cfa623
+SHA1 (patch-src_ToolBox_SOS_lldbplugin_debugclient.h) = 9b0f8339c44d30ed130c9af4bd17964105c28c46
+SHA1 (patch-src_ToolBox_SOS_lldbplugin_inc_dbgeng.h) = 0f28abf96b6b7cb2c9dcb605799af2a827d0ea81
+SHA1 (patch-src_debug_daccess_daccess.cpp) = ea97750ba113ff5af3a7cf8030e9f8d5fe45dc2b
 SHA1 (patch-src_pal_inc_pal__char16.h) = ca743d8330802f1a626b1c335461c733eb2a6325
 SHA1 (patch-src_pal_tools_gen-buildsys-clang.sh) = 81e547b9024b498bc9a003037122c71da712d240
 SHA1 (patch-src_vm_amd64_externalmethodfixupthunk.S) = 5e84b369f30ea62e391e1f949d0d01e1995e5192
diff --git a/coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_debugclient.h b/coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_debugclient.h
new file mode 100644
index 0000000..636dcaa
--- /dev/null
+++ b/coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_debugclient.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/ToolBox/SOS/lldbplugin/debugclient.h.orig	2016-01-28 19:04:13.000000000 +0000
++++ src/ToolBox/SOS/lldbplugin/debugclient.h
+@@ -2,6 +2,8 @@
+ // The .NET Foundation licenses this file to you under the MIT license.
+ // See the LICENSE file in the project root for more information.
+ 
++#include <cstdarg>
++
+ class DebugClient : public IDebugClient
+ {
+ private:
diff --git a/coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_inc_dbgeng.h b/coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_inc_dbgeng.h
new file mode 100644
index 0000000..a84bb71
--- /dev/null
+++ b/coreclr-git/patches/patch-src_ToolBox_SOS_lldbplugin_inc_dbgeng.h
@@ -0,0 +1,13 @@
+$NetBSD$
+
+--- src/ToolBox/SOS/lldbplugin/inc/dbgeng.h.orig	2016-01-28 19:04:13.000000000 +0000
++++ src/ToolBox/SOS/lldbplugin/inc/dbgeng.h
+@@ -11,6 +11,8 @@
+ #ifndef __DBGENG_H__
+ #define __DBGENG_H__
+ 
++#include <cstdarg>
++
+ #ifdef __cplusplus
+ extern "C" {
+ #endif
diff --git a/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp b/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
index b7b2927..785ce97 100644
--- a/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
+++ b/coreclr-git/patches/patch-src_debug_daccess_daccess.cpp
@@ -1,13 +1,13 @@
 $NetBSD$
 
---- src/debug/daccess/daccess.cpp.orig	2016-02-09 14:14:20.000000000 +0000
+--- src/debug/daccess/daccess.cpp.orig	2016-02-10 22:49:42.000000000 +0000
 +++ src/debug/daccess/daccess.cpp
-@@ -7223,7 +7223,7 @@ ClrDataAccess::GetDacGlobals()
+@@ -7227,7 +7227,7 @@ ClrDataAccess::GetDacGlobals()
          return E_INVALIDARG;
      }
  #endif
--#define DAC_TABLE_RVA 1
-+#define  DAC_TABLE_RVA 1 
-     ULONG64 dacTableAddress = m_globalBase + DAC_TABLE_RVA;
+-    ULONG64 dacTableAddress = m_globalBase + DAC_TABLE_RVA;
++    ULONG64 dacTableAddress = m_globalBase;
      if (FAILED(ReadFromDataTarget(m_pTarget, dacTableAddress, (BYTE*)&g_dacGlobals, sizeof(g_dacGlobals))))
      {
+         return CORDBG_E_MISSING_DEBUGGER_EXPORTS;


Home | Main Index | Thread Index | Old Index