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

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

Issue 1273123002: Change Print method of MinidumpLinuxMaps and MinidumpLinuxMapsList to print (Closed) Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Patch Set: Created 5 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « src/google_breakpad/processor/proc_maps_linux.h ('k') | src/processor/proc_maps_linux.cc » ('j') | 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 3967 matching lines...) Expand 10 before | Expand all | Expand 10 after
3978 3978
3979 MinidumpLinuxMaps::MinidumpLinuxMaps(Minidump *minidump) 3979 MinidumpLinuxMaps::MinidumpLinuxMaps(Minidump *minidump)
3980 : MinidumpObject(minidump) { 3980 : MinidumpObject(minidump) {
3981 } 3981 }
3982 3982
3983 void MinidumpLinuxMaps::Print() { 3983 void MinidumpLinuxMaps::Print() {
3984 if (!valid_) { 3984 if (!valid_) {
3985 BPLOG(ERROR) << "MinidumpLinuxMaps cannot print invalid data"; 3985 BPLOG(ERROR) << "MinidumpLinuxMaps cannot print invalid data";
3986 return; 3986 return;
3987 } 3987 }
3988 std::cout << GetPathname() << std::endl; 3988 std::cout << region_.line << std::endl;
3989 } 3989 }
3990 3990
3991 // 3991 //
3992 // MinidumpLinuxMapsList 3992 // MinidumpLinuxMapsList
3993 // 3993 //
3994 3994
3995 MinidumpLinuxMapsList::MinidumpLinuxMapsList(Minidump *minidump) 3995 MinidumpLinuxMapsList::MinidumpLinuxMapsList(Minidump *minidump)
3996 : MinidumpStream(minidump), 3996 : MinidumpStream(minidump),
3997 maps_(NULL), 3997 maps_(NULL),
3998 maps_count_(0) { 3998 maps_count_(0) {
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
4770 return NULL; 4770 return NULL;
4771 } 4771 }
4772 4772
4773 *stream = new_stream.release(); 4773 *stream = new_stream.release();
4774 info->stream = *stream; 4774 info->stream = *stream;
4775 return *stream; 4775 return *stream;
4776 } 4776 }
4777 4777
4778 4778
4779 } // namespace google_breakpad 4779 } // namespace google_breakpad
OLDNEW
« no previous file with comments | « src/google_breakpad/processor/proc_maps_linux.h ('k') | src/processor/proc_maps_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698