diff options
author | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-19 22:05:07 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-04-19 22:05:07 +0000 |
commit | 697da828dc830813f6302e248168297fff0b7737 (patch) | |
tree | 137f05a43bc78a8b4e62029f501f55a27249de17 /src/processor | |
parent | Get SimpleStringDictionary compiling on Linux. (diff) | |
download | breakpad-697da828dc830813f6302e248168297fff0b7737.tar.xz |
Fix Bigcluster build error with minidump.cc after r1147.
A=Jia Ji <jijia@google.com>
Original review: https://breakpad.appspot.com/563002/
Review URL: https://breakpad.appspot.com/564003
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1156 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor')
-rwxr-xr-x | src/processor/minidump.cc | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc index 17232b8d..e29fccbc 100755 --- a/src/processor/minidump.cc +++ b/src/processor/minidump.cc @@ -1116,21 +1116,26 @@ void MinidumpContext::Print() { case MD_CONTEXT_PPC64: { const MDRawContextPPC64* context_ppc64 = GetContextPPC64(); printf("MDRawContextPPC64\n"); - printf(" context_flags = 0x%lx\n", + printf(" context_flags = 0x%" PRIx64 "\n", context_ppc64->context_flags); - printf(" srr0 = 0x%lx\n", context_ppc64->srr0); - printf(" srr1 = 0x%lx\n", context_ppc64->srr1); + printf(" srr0 = 0x%" PRIx64 "\n", + context_ppc64->srr0); + printf(" srr1 = 0x%" PRIx64 "\n", + context_ppc64->srr1); for (unsigned int gpr_index = 0; gpr_index < MD_CONTEXT_PPC64_GPR_COUNT; ++gpr_index) { - printf(" gpr[%2d] = 0x%lx\n", + printf(" gpr[%2d] = 0x%" PRIx64 "\n", gpr_index, context_ppc64->gpr[gpr_index]); } - printf(" cr = 0x%lx\n", context_ppc64->cr); - printf(" xer = 0x%lx\n", context_ppc64->xer); - printf(" lr = 0x%lx\n", context_ppc64->lr); - printf(" ctr = 0x%lx\n", context_ppc64->ctr); - printf(" vrsave = 0x%lx\n", context_ppc64->vrsave); + printf(" cr = 0x%" PRIx64 "\n", context_ppc64->cr); + printf(" xer = 0x%" PRIx64 "\n", + context_ppc64->xer); + printf(" lr = 0x%" PRIx64 "\n", context_ppc64->lr); + printf(" ctr = 0x%" PRIx64 "\n", + context_ppc64->ctr); + printf(" vrsave = 0x%" PRIx64 "\n", + context_ppc64->vrsave); for (unsigned int fpr_index = 0; fpr_index < MD_FLOATINGSAVEAREA_PPC_FPR_COUNT; ++fpr_index) { |