summaryrefslogtreecommitdiff
path: root/src/ToolBox/SOS
diff options
context:
space:
mode:
authorSaeHie Park <saehie.park@gmail.com>2016-05-20 01:25:00 +0900
committerMike McLaughlin <mikem@microsoft.com>2016-05-19 09:25:00 -0700
commitb6aa7748182c468dc4e78b29382617befaea6a6a (patch)
tree721085d96f2140606559bac71325bed4f9102b30 /src/ToolBox/SOS
parent819eadd96c7cc3f2bbfe4115c056b6cef7f34495 (diff)
downloadcoreclr-b6aa7748182c468dc4e78b29382617befaea6a6a.tar.gz
coreclr-b6aa7748182c468dc4e78b29382617befaea6a6a.tar.bz2
coreclr-b6aa7748182c468dc4e78b29382617befaea6a6a.zip
ARM, SOS: correct IP and SP value in ClrStack command (#5077)
This fixes casting 64bit pointer value in 32bit machines that show wrong IP and SP values in ClrStack command. Related Issue: #5037
Diffstat (limited to 'src/ToolBox/SOS')
-rw-r--r--src/ToolBox/SOS/Strike/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ToolBox/SOS/Strike/util.h b/src/ToolBox/SOS/Strike/util.h
index 1e319bf68d..1c4e811a40 100644
--- a/src/ToolBox/SOS/Strike/util.h
+++ b/src/ToolBox/SOS/Strike/util.h
@@ -745,7 +745,7 @@ namespace Output
if (precision > width)
precision = width;
- ExtOut(leftAlign ? "%-*.*p" : "%*.*p", width, precision, (__int64)mValue);
+ ExtOut(leftAlign ? "%-*.*p" : "%*.*p", width, precision, SOS_PTR(mValue));
}
else
{