aboutsummaryrefslogtreecommitdiff
path: root/src/processor
diff options
context:
space:
mode:
authorgordana.cmiljanovic@imgtec.com <gordana.cmiljanovic@imgtec.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-30 09:34:55 +0000
committergordana.cmiljanovic@imgtec.com <gordana.cmiljanovic@imgtec.com@4c0a9323-5329-0410-9bdc-e9ce6186880e>2013-09-30 09:34:55 +0000
commitb7acb2a56a67777df9328e444bdd253853877e89 (patch)
treeca374569614698f48de6c9c012c2303942ddc13b /src/processor
parentAdding stricter validation checks to various symbol parser functions. (diff)
downloadbreakpad-b7acb2a56a67777df9328e444bdd253853877e89.tar.xz
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
Diffstat (limited to 'src/processor')
-rw-r--r--src/processor/stackwalker_mips.cc2
1 files changed, 1 insertions, 1 deletions
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<StackFrameMIPS*>(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<uint32_t> callee_registers;