From b7acb2a56a67777df9328e444bdd253853877e89 Mon Sep 17 00:00:00 2001 From: "gordana.cmiljanovic@imgtec.com" Date: Mon, 30 Sep 2013 09:34:55 +0000 Subject: [PATCH] This patch adds required change for stackwalker_mips_unittest to pass on 64bit platforms. One test from stackwalker_mips_unittest was failing as mentioned in: https://breakpad.appspot.com/632002/ https://breakpad.appspot.com/633002/ BUG=none TEST=stackwalker_mips_unittest (run on x86-64 and mips) Review URL: https://breakpad.appspot.com/634002/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1218 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/stackwalker_mips.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processor/stackwalker_mips.cc b/src/processor/stackwalker_mips.cc index e8b073ce..7db34219 100644 --- a/src/processor/stackwalker_mips.cc +++ b/src/processor/stackwalker_mips.cc @@ -96,7 +96,7 @@ StackFrameMIPS* StackwalkerMIPS::GetCallerByCFIFrameInfo( CFIFrameInfo* cfi_frame_info) { StackFrameMIPS* last_frame = static_cast(frames.back()); - unsigned long sp = 0, pc = 0; + uint32_t sp = 0, pc = 0; // Populate a dictionary with the valid register values in last_frame. CFIFrameInfo::RegisterValueMap callee_registers;