aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-04 19:37:00 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-04 19:37:00 +0000
commit9a3263a670b9c82aa83e64d294c7a4e02d17dc83 (patch)
tree4d127e9e90e07d7b38bda4ea31d91751fd67c5e5 /src/client
parentmissed header renames from Issue 152 (diff)
downloadbreakpad-9a3263a670b9c82aa83e64d294c7a4e02d17dc83.tar.xz
Issue 160 - Reviewer Chris Rogers
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@156 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client')
-rw-r--r--src/client/mac/handler/dynamic_images.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/client/mac/handler/dynamic_images.h b/src/client/mac/handler/dynamic_images.h
index 545ae6cc..2242899c 100644
--- a/src/client/mac/handler/dynamic_images.h
+++ b/src/client/mac/handler/dynamic_images.h
@@ -153,7 +153,8 @@ class DynamicImage {
path = "(unknown)";
}
printf("%p: %s\n", GetLoadAddress(), path);
- MachHeader(*GetMachHeader()).Print();
+ 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());
@@ -278,7 +279,8 @@ class DynamicImages {
for (int i = 0; i < (int)image_list_.size(); ++i) {
printf("dyld: %p: name = %s\n", _dyld_get_image_header(i),
_dyld_get_image_name(i) );
- MachHeader(*_dyld_get_image_header(i)).Print();
+ const mach_header *header = _dyld_get_image_header(i);
+ MachHeader(*header).Print();
}
}