diff options
author | waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-05-19 00:41:39 +0000 |
---|---|---|
committer | waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-05-19 00:41:39 +0000 |
commit | 32d40647362a014f2184a6f4d2c8e0453eb8f655 (patch) | |
tree | 07834ee053dabf0e14db5b481224a2ee2a2a609e /src/client/mac/handler/dynamic_images.h | |
parent | Add logging to minidump processor (#82). First part: logging infrastructure (diff) | |
download | breakpad-32d40647362a014f2184a6f4d2c8e0453eb8f655.tar.xz |
- Add const keyword / casting to supress more stringient compiler warnings
- Move DynamicImage::Print() from dynamic_images.h to dynamic_images.cc
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@170 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/handler/dynamic_images.h')
-rw-r--r-- | src/client/mac/handler/dynamic_images.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/client/mac/handler/dynamic_images.h b/src/client/mac/handler/dynamic_images.h index 2242899c..497f4eb4 100644 --- a/src/client/mac/handler/dynamic_images.h +++ b/src/client/mac/handler/dynamic_images.h @@ -147,19 +147,8 @@ class DynamicImage { } // Debugging - void Print() { - char *path = GetFilePath(); - if (!path) { - path = "(unknown)"; - } - printf("%p: %s\n", GetLoadAddress(), path); - mach_header *header = GetMachHeader(); - MachHeader(*header).Print(); - printf("vmaddr\t\t: %p\n", reinterpret_cast<void*>(GetVMAddr())); - printf("vmsize\t\t: %d\n", GetVMSize()); - printf("slide\t\t: %d\n", GetVMAddrSlide()); - } - + void Print(); + private: friend class DynamicImages; |