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 3967 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 |
OLD | NEW |