Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

stacktrace::StackFrame Struct Reference

#include <StackTrace.h>

List of all members.


Detailed Description

Stores information about a single stack frame.

Definition at line 25 of file StackTrace.h.


Public Attributes

void * sp
 stack pointer, points to end of stack frame
machineInstructionra
 return address, points to instruction being executed within current frame
struct StackFramecaller
 points to the caller's stack frame (stack frame of function which called this one), may be NULL or self-referential at end of list

Member Data Documentation

stack pointer, points to end of stack frame

Definition at line 28 of file StackTrace.h.

Referenced by stacktrace::getCurrentStackFrame(), and stacktrace::unrollStackFrame().

return address, points to instruction being executed within current frame

Note that this is the address that is being returned to by the sub-function, not the address that this frame itself is returning to.

Definition at line 47 of file StackTrace.h.

Referenced by stacktrace::getCurrentStackFrame(), and stacktrace::unrollStackFrame().

points to the caller's stack frame (stack frame of function which called this one), may be NULL or self-referential at end of list

a self-referential value indicates the frame is not the last on the stack, but is the last recorded.

Definition at line 52 of file StackTrace.h.

Referenced by stacktrace::allocateStackTrace(), stacktrace::freeStackTrace(), stacktrace::recordOverStackTrace(), stacktrace::recordStackTrace(), and stacktrace::unrollStackFrame().


The documentation for this struct was generated from the following file:

Tekkotsu v4.0
Generated Thu Nov 22 00:58:59 2007 by Doxygen 1.5.4