From: Andrew Au Date: Tue, 28 Aug 2018 00:58:30 +0000 (-0700) Subject: Avoiding triggering data breakpoint in Linux X-Git-Tag: submit/tizen/20210909.063632~11030^2~3452 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=69f09b5fdb17b29a9ef7c9eb16059ebbaa05d1fa;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Avoiding triggering data breakpoint in Linux Commit migrated from https://github.com/dotnet/coreclr/commit/7a479cf1cd6c1a67ad6d19360b700ff198f18071 --- 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; }