From ea2bba970675e01f9964f82d3f44960c1aad05dc Mon Sep 17 00:00:00 2001 From: mmentovai Date: Wed, 26 Sep 2007 18:28:05 +0000 Subject: Add SPARC/Solaris support to client handler and processor (#201, 200). Patch by Michael shang . r=me, r=Alfred Peng. http://groups.google.com/group/google-breakpad-discuss/browse_thread/thread/2fba07577f1fa35e git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@215 4c0a9323-5329-0410-9bdc-e9ce6186880e --- src/processor/stackwalker.cc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/processor/stackwalker.cc') diff --git a/src/processor/stackwalker.cc b/src/processor/stackwalker.cc index 46d8384b..502f07d4 100644 --- a/src/processor/stackwalker.cc +++ b/src/processor/stackwalker.cc @@ -49,6 +49,7 @@ #include "processor/scoped_ptr.h" #include "processor/stack_frame_info.h" #include "processor/stackwalker_ppc.h" +#include "processor/stackwalker_sparc.h" #include "processor/stackwalker_x86.h" namespace google_breakpad { @@ -163,6 +164,13 @@ Stackwalker* Stackwalker::StackwalkerForCPU( memory, modules, supplier, resolver); break; + + case MD_CONTEXT_SPARC: + cpu_stackwalker = new StackwalkerSPARC(system_info, + context->GetContextSPARC(), + memory, modules, supplier, + resolver); + break; } BPLOG_IF(ERROR, !cpu_stackwalker) << "Unknown CPU type " << HexString(cpu) << -- cgit v1.2.1