diff options
author | Mike Frysinger <vapier@chromium.org> | 2016-02-06 18:58:39 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@chromium.org> | 2016-02-06 18:58:39 -0500 |
commit | 76c51742c9e7ad8ab137e5dab1852798fc532207 (patch) | |
tree | 495157301f1f4279b1f4b18b38b0b4b5627fe488 /src/processor/minidump.cc | |
parent | Remove use of deprecated CFURLCreateDataAndPropertiesFromResource function. (diff) | |
download | breakpad-76c51742c9e7ad8ab137e5dab1852798fc532207.tar.xz |
[mips64] Support for mips n64
Adding remaining mips n64 support including stackwalker.
BUG=None
TEST=manually tested on Linux/Android
R=vapier@chromium.org
Review URL: https://codereview.chromium.org/1418453011 .
Diffstat (limited to 'src/processor/minidump.cc')
-rw-r--r-- | src/processor/minidump.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc index a23a0165..753c6df7 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; |