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 23 matching lines...) Expand all Loading... |
34 | 34 |
35 #include "processor/stackwalk_common.h" | 35 #include "processor/stackwalk_common.h" |
36 | 36 |
37 #include <assert.h> | 37 #include <assert.h> |
38 #include <stdlib.h> | 38 #include <stdlib.h> |
39 #include <string.h> | 39 #include <string.h> |
40 | 40 |
41 #include <string> | 41 #include <string> |
42 #include <vector> | 42 #include <vector> |
43 | 43 |
44 #include "common/stdio.h" | 44 #include "common/stdio_wrapper.h" |
45 #include "common/using_std_string.h" | 45 #include "common/using_std_string.h" |
46 #include "google_breakpad/processor/call_stack.h" | 46 #include "google_breakpad/processor/call_stack.h" |
47 #include "google_breakpad/processor/code_module.h" | 47 #include "google_breakpad/processor/code_module.h" |
48 #include "google_breakpad/processor/code_modules.h" | 48 #include "google_breakpad/processor/code_modules.h" |
49 #include "google_breakpad/processor/process_state.h" | 49 #include "google_breakpad/processor/process_state.h" |
50 #include "google_breakpad/processor/source_line_resolver_interface.h" | 50 #include "google_breakpad/processor/source_line_resolver_interface.h" |
51 #include "google_breakpad/processor/stack_frame_cpu.h" | 51 #include "google_breakpad/processor/stack_frame_cpu.h" |
52 #include "processor/logging.h" | 52 #include "processor/logging.h" |
53 #include "processor/pathname_stripper.h" | 53 #include "processor/pathname_stripper.h" |
54 | 54 |
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 for (int thread_index = 0; thread_index < thread_count; ++thread_index) { | 941 for (int thread_index = 0; thread_index < thread_count; ++thread_index) { |
942 if (thread_index != requesting_thread) { | 942 if (thread_index != requesting_thread) { |
943 // Don't print the crash thread again, it was already printed. | 943 // Don't print the crash thread again, it was already printed. |
944 PrintStackMachineReadable(thread_index, | 944 PrintStackMachineReadable(thread_index, |
945 process_state.threads()->at(thread_index)); | 945 process_state.threads()->at(thread_index)); |
946 } | 946 } |
947 } | 947 } |
948 } | 948 } |
949 | 949 |
950 } // namespace google_breakpad | 950 } // namespace google_breakpad |
OLD | NEW |