Index: src/client/linux/minidump_writer/minidump_writer.cc |
diff --git a/src/client/linux/minidump_writer/minidump_writer.cc b/src/client/linux/minidump_writer/minidump_writer.cc |
index 0eed74dedabc4bb719d9b2ae8482ec1f0ef02f00..9a0a830b13723b02cdec7930c4e49e4e5d4044d1 100644 |
--- a/src/client/linux/minidump_writer/minidump_writer.cc |
+++ b/src/client/linux/minidump_writer/minidump_writer.cc |
@@ -817,7 +817,13 @@ class MinidumpWriter { |
// processor_architecture should always be set, do this first |
sys_info->processor_architecture = |
#if defined(__mips__) |
+# if _MIPS_SIM == _ABIO32 |
MD_CPU_ARCHITECTURE_MIPS; |
+# elif _MIPS_SIM == _ABI64 |
+ MD_CPU_ARCHITECTURE_MIPS64; |
+# else |
+# error "This mips ABI is currently not supported (n32)" |
+#endif |
#elif defined(__i386__) |
MD_CPU_ARCHITECTURE_X86; |
#else |