Adding support for mips.
Support for mips cpu is added to all breakapad targets including unittests. BUG=none TEST=unittests Review URL: https://breakpad.appspot.com/614002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1212 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
@@ -53,6 +53,7 @@
|
||||
#include "processor/stackwalker_x86.h"
|
||||
#include "processor/stackwalker_amd64.h"
|
||||
#include "processor/stackwalker_arm.h"
|
||||
#include "processor/stackwalker_mips.h"
|
||||
|
||||
namespace google_breakpad {
|
||||
|
||||
@@ -230,6 +231,12 @@ Stackwalker* Stackwalker::StackwalkerForCPU(
|
||||
context->GetContextSPARC(),
|
||||
memory, modules, frame_symbolizer);
|
||||
break;
|
||||
|
||||
case MD_CONTEXT_MIPS:
|
||||
cpu_stackwalker = new StackwalkerMIPS(system_info,
|
||||
context->GetContextMIPS(),
|
||||
memory, modules, frame_symbolizer);
|
||||
break;
|
||||
|
||||
case MD_CONTEXT_ARM:
|
||||
int fp_register = -1;
|
||||
|
||||
Reference in New Issue
Block a user