Rename MDRawContextARM64 and its context flags

This makes way for the addition of a struct matching Microsoft's layout
for ARM64.

Change-Id: I115f25290863e7438852691d1ec3c9324a42f7a5
Reviewed-on: https://chromium-review.googlesource.com/1152158
Reviewed-by: Mark Mentovai <mark@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Joshua Peraza 2018-07-31 13:30:11 -07:00
parent 948ce04ed7
commit 627ef0cb9c
20 changed files with 71 additions and 71 deletions

View file

@ -480,7 +480,7 @@ ParseThreadRegisters(CrashedProcess::Thread* thread,
static void
ParseThreadRegisters(CrashedProcess::Thread* thread,
const MinidumpMemoryRange& range) {
const MDRawContextARM64* rawregs = range.GetData<MDRawContextARM64>(0);
const MDRawContextARM64_Old* rawregs = range.GetData<MDRawContextARM64_Old>(0);
for (int i = 0; i < 31; ++i)
thread->regs.regs[i] = rawregs->iregs[i];
@ -590,7 +590,7 @@ ParseSystemInfo(const Options& options, CrashedProcess* crashinfo,
exit(1);
}
#elif defined(__aarch64__)
if (sysinfo->processor_architecture != MD_CPU_ARCHITECTURE_ARM64) {
if (sysinfo->processor_architecture != MD_CPU_ARCHITECTURE_ARM64_OLD) {
fprintf(stderr,
"This version of minidump-2-core only supports ARM (64bit).\n");
exit(1);