aboutsummaryrefslogtreecommitdiff
path: root/src/processor/stackwalker_x86.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/processor/stackwalker_x86.h')
-rw-r--r--src/processor/stackwalker_x86.h21
1 files changed, 8 insertions, 13 deletions
diff --git a/src/processor/stackwalker_x86.h b/src/processor/stackwalker_x86.h
index e64eaf60..6a1d6ddf 100644
--- a/src/processor/stackwalker_x86.h
+++ b/src/processor/stackwalker_x86.h
@@ -43,10 +43,8 @@
#include "processor/stackwalker.h"
#include "processor/minidump_format.h"
-
namespace google_airbag {
-
class MinidumpContext;
class MinidumpModuleList;
@@ -57,24 +55,21 @@ class StackwalkerX86 : public Stackwalker {
// register state corresponding to the innermost called frame to be
// included in the stack. The other arguments are passed directly through
// to the base Stackwalker constructor.
- StackwalkerX86(MinidumpContext* context,
- MemoryRegion* memory,
- MinidumpModuleList* modules,
- SymbolSupplier* supplier);
+ StackwalkerX86(const MDRawContextX86 *context,
+ MemoryRegion *memory,
+ MinidumpModuleList *modules,
+ SymbolSupplier *supplier);
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);
+ virtual bool GetContextFrame(StackFrame *frame);
+ virtual bool GetCallerFrame(StackFrame *frame,
+ const StackFrames *walked_frames);
// 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_;
+ const MDRawContextX86 *context_;
};