Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/processor/stackwalk_common.cc

Issue 1688493003: Revert "Added a switch to dump minidump modules in minidump_stackwalk." (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/processor/stackwalk_common.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 int thread_count = process_state.threads()->size(); 919 int thread_count = process_state.threads()->size();
920 for (int thread_index = 0; thread_index < thread_count; ++thread_index) { 920 for (int thread_index = 0; thread_index < thread_count; ++thread_index) {
921 if (thread_index != requesting_thread) { 921 if (thread_index != requesting_thread) {
922 // Don't print the crash thread again, it was already printed. 922 // Don't print the crash thread again, it was already printed.
923 PrintStackMachineReadable(thread_index, 923 PrintStackMachineReadable(thread_index,
924 process_state.threads()->at(thread_index)); 924 process_state.threads()->at(thread_index));
925 } 925 }
926 } 926 }
927 } 927 }
928 928
929 void PrintProcessModules(const ProcessState& process_state) {
930 const CodeModules* modules = process_state.modules();
931 const unsigned int module_count = modules->module_count();
932 for (unsigned int i = 0; i < module_count; ++i) {
933 const CodeModule* module = modules->GetModuleAtSequence(i);
934 printf("%s\n", module->code_file().c_str());
935 }
936 }
937
938 } // namespace google_breakpad 929 } // namespace google_breakpad
OLDNEW
« no previous file with comments | « src/processor/stackwalk_common.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698