summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchunseoklee <chunseoklee@naver.com>2017-03-08 18:39:40 +0900
committerJan Vorlicek <janvorli@microsoft.com>2017-03-08 10:39:40 +0100
commit92fc7a07e0f1ac3b5a49d173ce42dbabace79aec (patch)
tree2170fb578cfc34ce7e1f0979d53b3227561721e1
parenta5e4dc79d1c1fcea413522099f7981ac1a7d9625 (diff)
downloadcoreclr-92fc7a07e0f1ac3b5a49d173ce42dbabace79aec.tar.gz
coreclr-92fc7a07e0f1ac3b5a49d173ce42dbabace79aec.tar.bz2
coreclr-92fc7a07e0f1ac3b5a49d173ce42dbabace79aec.zip
Remove CORECLR_GDBJIT length check in gdbjit (#10016)
realted issue: https://github.com/dotnet/coreclr/issues/10003
-rw-r--r--src/vm/gdbjit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/gdbjit.cpp b/src/vm/gdbjit.cpp
index 0b49fa58e0..86e86798cf 100644
--- a/src/vm/gdbjit.cpp
+++ b/src/vm/gdbjit.cpp
@@ -1739,7 +1739,7 @@ void NotifyGdb::MethodCompiled(MethodDesc* MethodDescPtr)
{
cCharsNeeded = GetEnvironmentVariableW(W("CORECLR_GDBJIT"), NULL, 0);
- if((cCharsNeeded == 0) || (cCharsNeeded >= MAX_LONGPATH))
+ if(cCharsNeeded == 0)
return;
wszModuleNames = new WCHAR[cCharsNeeded+1];
cCharsNeeded = GetEnvironmentVariableW(W("CORECLR_GDBJIT"), wszModuleNames, cCharsNeeded);