projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
241162d
)
Remove CORECLR_GDBJIT length check in gdbjit (dotnet/coreclr#10016)
author
chunseoklee
<chunseoklee@naver.com>
Wed, 8 Mar 2017 09:39:40 +0000
(18:39 +0900)
committer
Jan Vorlicek
<janvorli@microsoft.com>
Wed, 8 Mar 2017 09:39:40 +0000
(10:39 +0100)
realted issue: https://github.com/dotnet/coreclr/issues/10003
Commit migrated from https://github.com/dotnet/coreclr/commit/
92fc7a07e0f1ac3b5a49d173ce42dbabace79aec
src/coreclr/src/vm/gdbjit.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/vm/gdbjit.cpp
b/src/coreclr/src/vm/gdbjit.cpp
index
0b49fa5
..
86e8679
100644
(file)
--- a/
src/coreclr/src/vm/gdbjit.cpp
+++ b/
src/coreclr/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);