diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-09-26 18:28:05 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-09-26 18:28:05 +0000 |
commit | ea2bba970675e01f9964f82d3f44960c1aad05dc (patch) | |
tree | d3d6744bf2ef136f9a89748c96ab4e5c465eb7ff /src/processor/stackwalker.cc | |
parent | Fix crash reason switching to allow proper behavior for Linux. Spotted by (diff) | |
download | breakpad-ea2bba970675e01f9964f82d3f44960c1aad05dc.tar.xz |
Add SPARC/Solaris support to client handler and processor (#201, 200).
Patch by Michael shang <satisfy123>. 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
Diffstat (limited to 'src/processor/stackwalker.cc')
-rw-r--r-- | src/processor/stackwalker.cc | 8 |
1 files changed, 8 insertions, 0 deletions
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) << |