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:
f82e245
)
Return better HR for failing to get managed thread context
author
Andrew Au
<andrewau@microsoft.com>
Wed, 11 Jul 2018 20:41:07 +0000
(13:41 -0700)
committer
Andrew Au
<cshung@gmail.com>
Wed, 7 Nov 2018 02:34:47 +0000
(18:34 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/
b8e2abe84f9c4d67ff4aa1e53b3ed775c2750c42
src/coreclr/src/debug/di/process.cpp
patch
|
blob
|
history
diff --git
a/src/coreclr/src/debug/di/process.cpp
b/src/coreclr/src/debug/di/process.cpp
index
e668fe6
..
0b6c582
100644
(file)
--- a/
src/coreclr/src/debug/di/process.cpp
+++ b/
src/coreclr/src/debug/di/process.cpp
@@
-6510,12
+6510,7
@@
HRESULT CordbProcess::GetThreadContext(DWORD threadID, ULONG32 contextSize, BYTE
*pContext = *managedContext;
}
}
- EX_CATCH
- {
- hr = E_FAIL;
- }
- EX_END_CATCH(SwallowAllExceptions)
-
+ EX_CATCH_HRESULT(hr)
return hr;
}
}