aboutsummaryrefslogtreecommitdiff
path: root/src/processor/minidump.cc
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-09-20 01:14:59 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-09-20 01:14:59 +0000
commit82a6c6037b0dac132b86a88dccf6673efb52a51c (patch)
treecb5d538888f79ed14fadeb74bedcd8a0dcdb4e77 /src/processor/minidump.cc
parentFollow-up to #26: get rid of supplier_data, it's not really needed since (diff)
downloadbreakpad-82a6c6037b0dac132b86a88dccf6673efb52a51c.tar.xz
Add ppc types to minidump_format.h (#25). r=waylonis
- New MDRawContextPPC struct, based on ppc_thread_state and others in mach/ppc/_types.h. - Add (defining where necessary) MDCPUArchitecture and MDOSPlatform enums to support non-x86/win dumps. Add MD_CONTEXT_* definitions for non-x86 CPUs. - Document a few more fields. http://groups.google.com/group/airbag-dev/browse_thread/thread/963028fc01547851 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@28 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/minidump.cc')
-rw-r--r--src/processor/minidump.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc
index 1a82e0f0..a0b0ace2 100644
--- a/src/processor/minidump.cc
+++ b/src/processor/minidump.cc
@@ -308,9 +308,9 @@ void MinidumpContext::Print() {
printf(" float_save.data_selector = 0x%x\n",
context_.float_save.data_selector);
printf(" float_save.register_area[%2d] = 0x",
- MD_FLOATINGSAVEAREA_SIZEOF_REGISTERAREA_X86);
+ MD_FLOATINGSAVEAREA_X86_REGISTERAREA_SIZE);
for (unsigned int register_index = 0;
- register_index < MD_FLOATINGSAVEAREA_SIZEOF_REGISTERAREA_X86;
+ register_index < MD_FLOATINGSAVEAREA_X86_REGISTERAREA_SIZE;
++register_index) {
printf("%02x", context_.float_save.register_area[register_index]);
}
@@ -334,9 +334,9 @@ void MinidumpContext::Print() {
printf(" esp = 0x%x\n", context_.esp);
printf(" ss = 0x%x\n", context_.ss);
printf(" extended_registers[%3d] = 0x",
- MD_CONTEXT_SIZEOF_EXTENDED_REGISTERS_X86);
+ MD_CONTEXT_X86_EXTENDED_REGISTERS_SIZE);
for (unsigned int register_index = 0;
- register_index < MD_CONTEXT_SIZEOF_EXTENDED_REGISTERS_X86;
+ register_index < MD_CONTEXT_X86_EXTENDED_REGISTERS_SIZE;
++register_index) {
printf("%02x", context_.extended_registers[register_index]);
}