OLD | NEW |
1 // Copyright (c) 2010 Google Inc. | 1 // Copyright (c) 2010 Google Inc. |
2 // All rights reserved. | 2 // All rights reserved. |
3 // | 3 // |
4 // Redistribution and use in source and binary forms, with or without | 4 // Redistribution and use in source and binary forms, with or without |
5 // modification, are permitted provided that the following conditions are | 5 // modification, are permitted provided that the following conditions are |
6 // met: | 6 // met: |
7 // | 7 // |
8 // * Redistributions of source code must retain the above copyright | 8 // * Redistributions of source code must retain the above copyright |
9 // notice, this list of conditions and the following disclaimer. | 9 // notice, this list of conditions and the following disclaimer. |
10 // * Redistributions in binary form must reproduce the above | 10 // * Redistributions in binary form must reproduce the above |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 memory, modules, frame_symbolizer); | 227 memory, modules, frame_symbolizer); |
228 break; | 228 break; |
229 | 229 |
230 case MD_CONTEXT_SPARC: | 230 case MD_CONTEXT_SPARC: |
231 cpu_stackwalker = new StackwalkerSPARC(system_info, | 231 cpu_stackwalker = new StackwalkerSPARC(system_info, |
232 context->GetContextSPARC(), | 232 context->GetContextSPARC(), |
233 memory, modules, frame_symbolizer); | 233 memory, modules, frame_symbolizer); |
234 break; | 234 break; |
235 | 235 |
236 case MD_CONTEXT_MIPS: | 236 case MD_CONTEXT_MIPS: |
| 237 case MD_CONTEXT_MIPS64: |
237 cpu_stackwalker = new StackwalkerMIPS(system_info, | 238 cpu_stackwalker = new StackwalkerMIPS(system_info, |
238 context->GetContextMIPS(), | 239 context->GetContextMIPS(), |
239 memory, modules, frame_symbolizer); | 240 memory, modules, frame_symbolizer); |
240 break; | 241 break; |
241 | 242 |
242 case MD_CONTEXT_ARM: | 243 case MD_CONTEXT_ARM: |
243 { | 244 { |
244 int fp_register = -1; | 245 int fp_register = -1; |
245 if (system_info->os_short == "ios") | 246 if (system_info->os_short == "ios") |
246 fp_register = MD_CONTEXT_ARM_REG_IOS_FP; | 247 fp_register = MD_CONTEXT_ARM_REG_IOS_FP; |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 symbolizer_result != StackFrameSymbolizer::kWarningCorruptSymbols) { | 287 symbolizer_result != StackFrameSymbolizer::kWarningCorruptSymbols) { |
287 // Some error occurred during symbolization, but the address is within a | 288 // Some error occurred during symbolization, but the address is within a |
288 // known module | 289 // known module |
289 return true; | 290 return true; |
290 } | 291 } |
291 | 292 |
292 return !frame.function_name.empty(); | 293 return !frame.function_name.empty(); |
293 } | 294 } |
294 | 295 |
295 } // namespace google_breakpad | 296 } // namespace google_breakpad |
OLD | NEW |