KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
stack.h File Reference

Stack tracing. More...

#include <sys/cdefs.h>
#include <arch/types.h>

Go to the source code of this file.

Functions

void arch_stk_trace (int n)
 Do a stack trace from the current function.
 
void arch_stk_trace_at (uint32_t fp, size_t n)
 Do a stack trace from the current function.
 

Detailed Description

Stack tracing.

The functions in this file deal with doing stack traces. These functions will do a stack trace, as specified, printing it out to stdout (usually a dcload terminal). These functions only work if frame pointers have been enabled at compile time (-DFRAME_POINTERS and no -fomit-frame-pointer flag).

Author
Megan Potter