Index: src/processor/minidump.cc |
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc |
index a23a0165ed2ea844c3c21bbc553b3a85cf4508d9..753c6df72e66a72662cf5b2edbc4c10b0d91a805 100644 |
--- a/src/processor/minidump.cc |
+++ b/src/processor/minidump.cc |
@@ -1009,7 +1009,8 @@ bool MinidumpContext::Read(uint32_t expected_size) { |
break; |
} |
- case MD_CONTEXT_MIPS: { |
+ case MD_CONTEXT_MIPS: |
+ case MD_CONTEXT_MIPS64: { |
if (expected_size != sizeof(MDRawContextMIPS)) { |
BPLOG(ERROR) << "MinidumpContext MIPS size mismatch, " |
<< expected_size |
@@ -1157,6 +1158,11 @@ bool MinidumpContext::CheckAgainstSystemInfo(uint32_t context_cpu_type) { |
if (system_info_cpu_type == MD_CPU_ARCHITECTURE_MIPS) |
return_value = true; |
break; |
+ |
+ case MD_CONTEXT_MIPS64: |
+ if (system_info_cpu_type == MD_CPU_ARCHITECTURE_MIPS64) |
+ return_value = true; |
+ break; |
} |
BPLOG_IF(ERROR, !return_value) << "MinidumpContext CPU " << |
@@ -4209,6 +4215,9 @@ bool Minidump::GetContextCPUFlagsFromSystemInfo(uint32_t *context_cpu_flags) { |
case MD_CPU_ARCHITECTURE_MIPS: |
*context_cpu_flags = MD_CONTEXT_MIPS; |
break; |
+ case MD_CPU_ARCHITECTURE_MIPS64: |
+ *context_cpu_flags = MD_CONTEXT_MIPS64; |
+ break; |
case MD_CPU_ARCHITECTURE_ALPHA: |
*context_cpu_flags = MD_CONTEXT_ALPHA; |
break; |