From d9c3ad7b889b8d9e05854b8d690f9113a65cdd9b Mon Sep 17 00:00:00 2001 From: "ted.mielczarek@gmail.com" Date: Wed, 17 Apr 2013 13:37:39 +0000 Subject: [PATCH] minidump_stackwalk should display r12 in ARM stack traces A=torne@google.com, R=ted, http://code.google.com/p/google-breakpad/issues/detail?id=456 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1151 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/minidump_stackwalk.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/processor/minidump_stackwalk.cc b/src/processor/minidump_stackwalk.cc index 6bf78ac1..8bcf0dc1 100644 --- a/src/processor/minidump_stackwalk.cc +++ b/src/processor/minidump_stackwalk.cc @@ -259,6 +259,8 @@ static void PrintStack(const CallStack *stack, const string &cpu) { sequence = PrintRegister("r9", frame_arm->context.iregs[9], sequence); if (frame_arm->context_validity & StackFrameARM::CONTEXT_VALID_R10) sequence = PrintRegister("r10", frame_arm->context.iregs[10], sequence); + if (frame_arm->context_validity & StackFrameARM::CONTEXT_VALID_R12) + sequence = PrintRegister("r12", frame_arm->context.iregs[12], sequence); // Registers with a dedicated or conventional purpose. if (frame_arm->context_validity & StackFrameARM::CONTEXT_VALID_FP)