From 299c816021c5d3e61106d48c1dd2d52fbf4d6cd4 Mon Sep 17 00:00:00 2001 From: luly81 Date: Mon, 19 Nov 2007 05:53:21 +0000 Subject: Add MD_CPU_ARCHITECTURE_AMD64 as valid system type when cpu type is MD_CONTEXT_X86 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@230 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/minidump.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc index d08ad12f..0330da7e 100644 --- a/src/processor/minidump.cc +++ b/src/processor/minidump.cc @@ -727,7 +727,8 @@ bool MinidumpContext::CheckAgainstSystemInfo(u_int32_t context_cpu_type) { switch (context_cpu_type) { case MD_CONTEXT_X86: if (system_info_cpu_type == MD_CPU_ARCHITECTURE_X86 || - system_info_cpu_type == MD_CPU_ARCHITECTURE_X86_WIN64) { + system_info_cpu_type == MD_CPU_ARCHITECTURE_X86_WIN64 || + system_info_cpu_type == MD_CPU_ARCHITECTURE_AMD64) { return_value = true; } break; -- cgit v1.2.1