pkgsrc-WIP-changes archive

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

coreclr-git: Remove obsolete patches.



Module Name:	pkgsrc-wip
Committed By:	jasonwilliams200ok <necmon%yahoo.com@localhost>
Pushed By:	danglingpointer
Date:		Sun Feb 7 01:10:46 2016 +0000
Changeset:	3cb718c8cdd94d304568e9c9b9f2e5933f59066d

Removed Files:
	coreclr-git/patches/patch-src_pal_src_debug_debug.cpp
	coreclr-git/patches/patch-src_pal_src_exception_signal.cpp
	coreclr-git/patches/patch-src_pal_src_thread_context.cpp

Log Message:
coreclr-git: Remove obsolete patches.

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

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

diffstat:
 .../patches/patch-src_pal_src_debug_debug.cpp      |  42 --------
 .../patches/patch-src_pal_src_exception_signal.cpp | 109 ---------------------
 .../patches/patch-src_pal_src_thread_context.cpp   |  19 ----
 3 files changed, 170 deletions(-)

diffs:
diff --git a/coreclr-git/patches/patch-src_pal_src_debug_debug.cpp b/coreclr-git/patches/patch-src_pal_src_debug_debug.cpp
deleted file mode 100644
index 6454b5c..0000000
--- a/coreclr-git/patches/patch-src_pal_src_debug_debug.cpp
+++ /dev/null
@@ -1,42 +0,0 @@
-$NetBSD$
-
---- src/pal/src/debug/debug.cpp.orig	2016-02-06 09:37:43.000000000 +0000
-+++ src/pal/src/debug/debug.cpp
-@@ -146,7 +146,8 @@ FlushInstructionCache(
- 
-     if (lpBaseAddress != NULL)
-     {
--        Ret = DBG_FlushInstructionCache(lpBaseAddress, dwSize);
-+//        Ret = DBG_FlushInstructionCache(lpBaseAddress, dwSize);
-+        Ret = TRUE;
-     }
-     else
-     {
-@@ -459,11 +460,13 @@ GetThreadContext(
-     {
-         if (!pTargetThread->IsDummy())
-         {
-+#if 0
-             ret = CONTEXT_GetThreadContext(
-                 GetCurrentProcessId(),
-                 pTargetThread->GetPThreadSelf(),
-                 lpContext
-                 );
-+#endif
-         }
-         else
-         {
-@@ -521,11 +524,13 @@ SetThreadContext(
-     {
-         if (!pTargetThread->IsDummy())
-         {
-+#if 0
-             ret = CONTEXT_SetThreadContext(
-                 GetCurrentProcessId(),
-                 pTargetThread->GetPThreadSelf(),
-                 lpContext
-                 );
-+#endif
-         }
-         else
-         {
diff --git a/coreclr-git/patches/patch-src_pal_src_exception_signal.cpp b/coreclr-git/patches/patch-src_pal_src_exception_signal.cpp
deleted file mode 100644
index 8347aae..0000000
--- a/coreclr-git/patches/patch-src_pal_src_exception_signal.cpp
+++ /dev/null
@@ -1,109 +0,0 @@
-$NetBSD$
-
---- src/pal/src/exception/signal.cpp.orig	2016-02-06 09:37:43.000000000 +0000
-+++ src/pal/src/exception/signal.cpp
-@@ -45,7 +45,7 @@ using namespace CorUnix;
- 
- SET_DEFAULT_DEBUG_CHANNEL(EXCEPT);
- 
--#define INJECT_ACTIVATION_SIGNAL SIGRTMIN
-+#define INJECT_ACTIVATION_SIGNAL 0
- 
- /* local type definitions *****************************************************/
- 
-@@ -194,10 +194,10 @@ static void sigill_handler(int code, sig
- 
-         ucontext = (native_context_t *)context;
- 
--        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-+//        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-         record.ExceptionFlags = EXCEPTION_IS_SIGNAL;
-         record.ExceptionRecord = NULL;
--        record.ExceptionAddress = GetNativeContextPC(ucontext);
-+//        record.ExceptionAddress = GetNativeContextPC(ucontext);
-         record.NumberParameters = 0;
- 
-         pointers.ExceptionRecord = &record;
-@@ -241,10 +241,10 @@ static void sigfpe_handler(int code, sig
- 
-         ucontext = (native_context_t *)context;
- 
--        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-+//        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-         record.ExceptionFlags = EXCEPTION_IS_SIGNAL;
-         record.ExceptionRecord = NULL;
--        record.ExceptionAddress = GetNativeContextPC(ucontext);
-+//        record.ExceptionAddress = GetNativeContextPC(ucontext);
-         record.NumberParameters = 0;
- 
-         pointers.ExceptionRecord = &record;
-@@ -288,10 +288,10 @@ static void sigsegv_handler(int code, si
- 
-         ucontext = (native_context_t *)context;
- 
--        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-+//        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-         record.ExceptionFlags = EXCEPTION_IS_SIGNAL;
-         record.ExceptionRecord = NULL;
--        record.ExceptionAddress = GetNativeContextPC(ucontext);
-+//        record.ExceptionAddress = GetNativeContextPC(ucontext);
-         record.NumberParameters = 2;
- 
-         if (record.ExceptionCode == EXCEPTION_ACCESS_VIOLATION)
-@@ -358,10 +358,10 @@ static void sigtrap_handler(int code, si
- 
-         ucontext = (native_context_t *)context;
- 
--        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-+//        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-         record.ExceptionFlags = EXCEPTION_IS_SIGNAL;
-         record.ExceptionRecord = NULL;
--        record.ExceptionAddress = GetNativeContextPC(ucontext);
-+//        record.ExceptionAddress = GetNativeContextPC(ucontext);
-         record.NumberParameters = 0;
- 
-         pointers.ExceptionRecord = &record;
-@@ -406,10 +406,10 @@ static void sigbus_handler(int code, sig
- 
-         ucontext = (native_context_t *)context;
- 
--        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-+//        record.ExceptionCode = CONTEXTGetExceptionCodeForSignal(siginfo, ucontext);
-         record.ExceptionFlags = EXCEPTION_IS_SIGNAL;
-         record.ExceptionRecord = NULL;
--        record.ExceptionAddress = GetNativeContextPC(ucontext);
-+//        record.ExceptionAddress = GetNativeContextPC(ucontext);
-         record.NumberParameters = 2;
- 
-         // TODO: First parameter says whether a read (0) or write (non-0) caused the
-@@ -508,18 +508,19 @@ static void inject_activation_handler(in
-             native_context_t *ucontext = (native_context_t *)context;
- 
-             CONTEXT winContext;
-+#if 0
-             CONTEXTFromNativeContext(
-                 ucontext, 
-                 &winContext, 
-                 CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_FLOATING_POINT);
--
-+#endif
-             if (g_safeActivationCheckFunction(CONTEXTGetPC(&winContext)))
-             {
-                 g_activationFunction(&winContext);
-             }
- 
-             // Activation function may have modified the context, so update it.
--            CONTEXTToNativeContext(&winContext, ucontext);
-+//            CONTEXTToNativeContext(&winContext, ucontext);
-         }
-     }
- }
-@@ -625,7 +626,7 @@ static void common_signal_handler(PEXCEP
-     // Fill context record with required information. from pal.h :
-     // On non-Win32 platforms, the CONTEXT pointer in the
-     // PEXCEPTION_POINTERS will contain at least the CONTEXT_CONTROL registers.
--    CONTEXTFromNativeContext(ucontext, &context, CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_FLOATING_POINT);
-+//    CONTEXTFromNativeContext(ucontext, &context, CONTEXT_CONTROL | CONTEXT_INTEGER | CONTEXT_FLOATING_POINT);
- 
-     pointers->ContextRecord = &context;
- 
diff --git a/coreclr-git/patches/patch-src_pal_src_thread_context.cpp b/coreclr-git/patches/patch-src_pal_src_thread_context.cpp
deleted file mode 100644
index d191514..0000000
--- a/coreclr-git/patches/patch-src_pal_src_thread_context.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
-$NetBSD$
-
---- src/pal/src/thread/context.cpp.orig	2016-02-06 09:37:43.000000000 +0000
-+++ src/pal/src/thread/context.cpp
-@@ -19,6 +19,8 @@ Abstract:
- 
- --*/
- 
-+#if 0
-+
- #include "pal/palinternal.h"
- #include "pal/dbgmsg.h"
- #include "pal/context.h"
-@@ -1351,3 +1353,5 @@ DBG_FlushInstructionCache(
- 
-     return TRUE;
- }
-+
-+#endif


Home | Main Index | Thread Index | Old Index