aboutsummaryrefslogtreecommitdiff
path: root/src/processor/stackwalker_x86.h
diff options
context:
space:
mode:
authormmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-09-07 15:56:38 +0000
committermmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e>2006-09-07 15:56:38 +0000
commit53d0f69d35375fe2ffd119ac7e4898083c0e071c (patch)
treeeb79c57964db5b3567102bd4fa43f2beaf644e0c /src/processor/stackwalker_x86.h
parentminidump_dump test is timezone-dependent (#15). r=bryner (diff)
downloadbreakpad-53d0f69d35375fe2ffd119ac7e4898083c0e071c.tar.xz
Conform to style guidelines.
- In class definitions, one-space indent for public/protected/private. - Multi-line initializer format puts comma at end of line. Also: - Eliminate the long list of friends in Minidump by making swap() public. (People who need to access unknown stream types directly will need access to swap() too.) git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@16 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/processor/stackwalker_x86.h')
-rw-r--r--src/processor/stackwalker_x86.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/processor/stackwalker_x86.h b/src/processor/stackwalker_x86.h
index 6bb819de..6e0225b4 100644
--- a/src/processor/stackwalker_x86.h
+++ b/src/processor/stackwalker_x86.h
@@ -37,28 +37,28 @@ class MinidumpModuleList;
class StackwalkerX86 : public Stackwalker {
- public:
- // context is a MinidumpContext object that gives access to x86-specific
- // register state corresponding to the innermost called frame to be
- // included in the stack. memory and modules are passed directly through
- // to the base Stackwalker constructor.
- StackwalkerX86(MinidumpContext* context,
- MemoryRegion* memory,
- MinidumpModuleList* modules);
-
- private:
- // Implementation of Stackwalker, using x86 context (%ebp, %eip) and
- // stack conventions (saved %ebp at [%ebp], saved %eip at 4[%ebp]).
- virtual bool GetContextFrame(StackFrame* frame);
- virtual bool GetCallerFrame(StackFrame* frame);
-
- // Stores the CPU context corresponding to the innermost stack frame to
- // be returned by GetContextFrame.
- const MDRawContextX86* context_;
-
- // Stores the frame pointer returned in the last stack frame returned by
- // GetContextFrame or GetCallerFrame.
- u_int32_t last_frame_pointer_;
+ public:
+ // context is a MinidumpContext object that gives access to x86-specific
+ // register state corresponding to the innermost called frame to be
+ // included in the stack. memory and modules are passed directly through
+ // to the base Stackwalker constructor.
+ StackwalkerX86(MinidumpContext* context,
+ MemoryRegion* memory,
+ MinidumpModuleList* modules);
+
+ private:
+ // Implementation of Stackwalker, using x86 context (%ebp, %eip) and
+ // stack conventions (saved %ebp at [%ebp], saved %eip at 4[%ebp]).
+ virtual bool GetContextFrame(StackFrame* frame);
+ virtual bool GetCallerFrame(StackFrame* frame);
+
+ // Stores the CPU context corresponding to the innermost stack frame to
+ // be returned by GetContextFrame.
+ const MDRawContextX86* context_;
+
+ // Stores the frame pointer returned in the last stack frame returned by
+ // GetContextFrame or GetCallerFrame.
+ u_int32_t last_frame_pointer_;
};