[x86/Linux] Fix LLDB Plugin Build Error (dotnet/coreclr#9239)
authorJonghyun Park <parjong@gmail.com>
Wed, 1 Feb 2017 04:19:55 +0000 (13:19 +0900)
committerJan Kotas <jkotas@microsoft.com>
Wed, 1 Feb 2017 04:19:55 +0000 (20:19 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/2c3714ee75f3e1fa19f496d4530effa996032d7f

src/coreclr/src/ToolBox/SOS/lldbplugin/services.cpp

index 3b235ba..e3eee4f 100644 (file)
@@ -413,6 +413,8 @@ LLDBServices::GetExecutingProcessorType(
     *type = IMAGE_FILE_MACHINE_ARMNT;
 #elif DBG_TARGET_ARM64
     *type = IMAGE_FILE_MACHINE_ARM64;
+#elif DBG_TARGET_X86
+    *type = IMAGE_FILE_MACHINE_I386;
 #else
 #error "Unsupported target"
 #endif