summaryrefslogtreecommitdiff
path: root/src/vm
diff options
context:
space:
mode:
authorEugene Zemtsov <e.zemtsov@gmail.com>2015-04-09 02:00:38 -0700
committerEugene Zemtsov <e.zemtsov@gmail.com>2015-04-09 02:00:38 -0700
commit322930425077d6f7ddca9ee327825029c9799bf0 (patch)
tree510c1b48e5170323e968a146c177b9a0ee135749 /src/vm
parent7de896c515ab61bf319e3372acd4f70ae354023f (diff)
downloadcoreclr-322930425077d6f7ddca9ee327825029c9799bf0.tar.gz
coreclr-322930425077d6f7ddca9ee327825029c9799bf0.tar.bz2
coreclr-322930425077d6f7ddca9ee327825029c9799bf0.zip
Fix typo in the comment
Diffstat (limited to 'src/vm')
-rw-r--r--src/vm/exceptionhandling.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/exceptionhandling.cpp b/src/vm/exceptionhandling.cpp
index 3e80187734..fc7082ee0f 100644
--- a/src/vm/exceptionhandling.cpp
+++ b/src/vm/exceptionhandling.cpp
@@ -4657,7 +4657,7 @@ VOID PALAPI HandleHardwareException(PAL_SEHException* ex)
{
if (ex->ExceptionRecord.ExceptionCode == STATUS_BREAKPOINT)
{
- // If this is breakpoint context is set up to point to an instruction after the break instruction.
+ // If this is breakpoint context, it is set up to point to an instruction after the break instruction.
// But debugger expects to see context that points to the break instruction, that's why we correct it.
SetIP(&ex->ContextRecord, GetIP(&ex->ContextRecord) - CORDbg_BREAK_INSTRUCTION_SIZE);
ex->ExceptionRecord.ExceptionAddress = (void *)GetIP(&ex->ContextRecord);