From 69f09b5fdb17b29a9ef7c9eb16059ebbaa05d1fa Mon Sep 17 00:00:00 2001 From: Andrew Au Date: Mon, 27 Aug 2018 17:58:30 -0700 Subject: [PATCH] Avoiding triggering data breakpoint in Linux Commit migrated from https://github.com/dotnet/coreclr/commit/7a479cf1cd6c1a67ad6d19360b700ff198f18071 --- src/coreclr/src/debug/ee/controller.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/coreclr/src/debug/ee/controller.h b/src/coreclr/src/debug/ee/controller.h index 7084bd9..d73a432 100644 --- a/src/coreclr/src/debug/ee/controller.h +++ b/src/coreclr/src/debug/ee/controller.h @@ -1815,6 +1815,7 @@ public: LOG((LF_CORDB, LL_INFO10000, "D::DDBP: Doing TriggerDataBreakpoint...\n")); bool hitDataBp = false; +#ifndef FEATURE_PAL #if defined(_TARGET_X86_) || defined(_TARGET_AMD64_) PDR6 pdr6 = (PDR6)&(pContext->Dr6); @@ -1832,6 +1833,7 @@ public: LOG((LF_CORDB, LL_INFO10000, "D::DDBP: DIDN'T TRIGGER DATA BREAKPOINT...\n")); } #endif +#endif return hitDataBp; } -- 2.7.4