[x86/Linux][SOS] Fix DataTarget::GetPointerSize for x86 (dotnet/coreclr#8473)
authorEvgeny Pavlov <lucenticus@gmail.com>
Tue, 6 Dec 2016 14:42:44 +0000 (17:42 +0300)
committerJan Vorlicek <janvorli@microsoft.com>
Tue, 6 Dec 2016 14:42:44 +0000 (15:42 +0100)
Commit migrated from https://github.com/dotnet/coreclr/commit/061fba83ca43a5f10b91380582c07b9a5d3af26c

src/coreclr/src/ToolBox/SOS/Strike/datatarget.cpp

index 455c083..fe90f0e 100644 (file)
@@ -83,7 +83,7 @@ DataTarget::GetPointerSize(
 {
 #if defined(SOS_TARGET_AMD64) || defined(SOS_TARGET_ARM64)
     *size = 8;
-#elif defined(SOS_TARGET_ARM)
+#elif defined(SOS_TARGET_ARM) || defined(SOS_TARGET_X86)
     *size = 4;
 #else
   #error Unsupported architecture