Back to index

glibc  2.9
Defines
sigcontextinfo.h File Reference

Go to the source code of this file.

Defines

#define STACK_BIAS   2047
#define SIGCONTEXT   struct sigcontext *
#define SIGCONTEXT_EXTRA_ARGS
#define GET_PC(__ctx)   ((void *) ((__ctx)->sigc_regs.tpc))
#define ADVANCE_STACK_FRAME(__next)
#define GET_STACK(__ctx)   ((void *) ((__ctx)->sigc_regs.u_regs[14]))
#define GET_FRAME(__ctx)   ADVANCE_STACK_FRAME (GET_STACK (__ctx))
#define CALL_SIGHANDLER(handler, signo, ctx)   (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))

Define Documentation

#define ADVANCE_STACK_FRAME (   __next)
Value:
((void *) (((unsigned long *) (((unsigned long int) (__next))     \
                                      + STACK_BIAS))+14))

Definition at line 26 of file sigcontextinfo.h.

#define CALL_SIGHANDLER (   handler,
  signo,
  ctx 
)    (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))

Definition at line 31 of file sigcontextinfo.h.

#define GET_FRAME (   __ctx)    ADVANCE_STACK_FRAME (GET_STACK (__ctx))

Definition at line 30 of file sigcontextinfo.h.

#define GET_PC (   __ctx)    ((void *) ((__ctx)->sigc_regs.tpc))

Definition at line 25 of file sigcontextinfo.h.

#define GET_STACK (   __ctx)    ((void *) ((__ctx)->sigc_regs.u_regs[14]))

Definition at line 29 of file sigcontextinfo.h.

#define SIGCONTEXT   struct sigcontext *

Definition at line 23 of file sigcontextinfo.h.

Definition at line 24 of file sigcontextinfo.h.

#define STACK_BIAS   2047

Definition at line 21 of file sigcontextinfo.h.