Back to index

glibc  2.9
Defines
sigcontextinfo.h File Reference

Go to the source code of this file.

Defines

#define SIGCONTEXT   struct sigcontext *
#define SIGCONTEXT_EXTRA_ARGS
#define GET_PC(__ctx)   ((void *) ((__ctx)->si_regs.pc))
#define FIRST_FRAME_POINTER
#define ADVANCE_STACK_FRAME(__next)   ((void *) (((unsigned *)(__next))+14))
#define GET_STACK(__ctx)   ((void *) (__ctx)->si_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)    ((void *) (((unsigned *)(__next))+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.

Value:
({ void *ret;                                           \
     asm volatile ("ta 3; add %%fp, 56, %0" : "=r" (ret)); ret; })

Definition at line 23 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)->si_regs.pc))

Definition at line 22 of file sigcontextinfo.h.

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

Definition at line 29 of file sigcontextinfo.h.

#define SIGCONTEXT   struct sigcontext *

Definition at line 20 of file sigcontextinfo.h.

Definition at line 21 of file sigcontextinfo.h.