Back to index

glibc  2.9
Defines
sigcontextinfo.h File Reference
#include <sys/ucontext.h>
#include "kernel-features.h"

Go to the source code of this file.

Defines

#define SIGCONTEXT   siginfo_t *_si, struct ucontext *
#define SIGCONTEXT_EXTRA_ARGS   _si,
#define GET_PC(ctx)   ((void *) (ctx)->uc_mcontext.arm_pc)
#define GET_FRAME(ctx)   ADVANCE_STACK_FRAME ((void *) ctx->uc_mcontext.arm_fp)
#define GET_STACK(ctx)   ((void *) (ctx)->uc_mcontext.arm_sp)
#define ADVANCE_STACK_FRAME(frm)   ((struct layout *)frm - 1)
#define CALL_SIGHANDLER(handler, signo, ctx)   (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))
#define __sigaction(sig, act, oact)
#define sigaction(sig, act, oact)

Define Documentation

#define __sigaction (   sig,
  act,
  oact 
)
Value:
({ \
  (act)->sa_flags |= SA_SIGINFO; \
  (__sigaction) (sig, act, oact); \
})

Definition at line 42 of file sigcontextinfo.h.

#define ADVANCE_STACK_FRAME (   frm)    ((struct layout *)frm - 1)

Definition at line 34 of file sigcontextinfo.h.

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

Definition at line 37 of file sigcontextinfo.h.

#define GET_FRAME (   ctx)    ADVANCE_STACK_FRAME ((void *) ctx->uc_mcontext.arm_fp)

Definition at line 31 of file sigcontextinfo.h.

#define GET_PC (   ctx)    ((void *) (ctx)->uc_mcontext.arm_pc)

Definition at line 30 of file sigcontextinfo.h.

#define GET_STACK (   ctx)    ((void *) (ctx)->uc_mcontext.arm_sp)

Definition at line 32 of file sigcontextinfo.h.

#define sigaction (   sig,
  act,
  oact 
)
Value:
({ \
  (act)->sa_flags |= SA_SIGINFO; \
  (sigaction) (sig, act, oact); \
})

Definition at line 47 of file sigcontextinfo.h.

#define SIGCONTEXT   siginfo_t *_si, struct ucontext *

Definition at line 23 of file sigcontextinfo.h.

#define SIGCONTEXT_EXTRA_ARGS   _si,

Definition at line 24 of file sigcontextinfo.h.