PSPSDK 2024-12-16
Loading...
Searching...
No Matches
stacktrace.c File Reference
#include <pspkernel.h>
#include <pspdebug.h>
#include <string.h>
#include <stddef.h>
Include dependency graph for stacktrace.c:

Macros

#define CALL   0x0C000000
 
#define CALL_MASK   0xFC000000
 
#define IS_CALL(x)   (((x) & CALL_MASK) == CALL)
 
#define CALL_ADDR(x)   (((x) & ~CALL_MASK) << 2)
 

Functions

int pspDebugGetStackTrace2 (PspDebugRegBlock *regs, PspDebugStackTrace *trace, int max)
 Do a stack trace from the current exception.
 

Variables

u32 _ftext
 
u32 _etext
 

Macro Definition Documentation

◆ CALL

#define CALL   0x0C000000

◆ CALL_ADDR

#define CALL_ADDR (   x)    (((x) & ~CALL_MASK) << 2)

◆ CALL_MASK

#define CALL_MASK   0xFC000000

◆ IS_CALL

#define IS_CALL (   x)    (((x) & CALL_MASK) == CALL)

Variable Documentation

◆ _etext

u32 _etext
extern

◆ _ftext

u32 _ftext
extern