Back to index

glibc  2.9
Defines
sigcontextinfo.h File Reference
This graph shows which files directly or indirectly include this file:

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.gregs[REG_RIP])
#define GET_FRAME(ctx)   ((void *) (ctx)->uc_mcontext.gregs[REG_RBP])
#define GET_STACK(ctx)   ((void *) (ctx)->uc_mcontext.gregs[REG_RSP])
#define CALL_SIGHANDLER(handler, signo, ctx)   (handler)((signo), SIGCONTEXT_EXTRA_ARGS (ctx))

Define Documentation

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

Definition at line 25 of file sigcontextinfo.h.

#define GET_FRAME (   ctx)    ((void *) (ctx)->uc_mcontext.gregs[REG_RBP])

Definition at line 22 of file sigcontextinfo.h.

#define GET_PC (   ctx)    ((void *) (ctx)->uc_mcontext.gregs[REG_RIP])

Definition at line 21 of file sigcontextinfo.h.

#define GET_STACK (   ctx)    ((void *) (ctx)->uc_mcontext.gregs[REG_RSP])

Definition at line 23 of file sigcontextinfo.h.

#define SIGCONTEXT   siginfo_t *_si, struct ucontext *

Definition at line 19 of file sigcontextinfo.h.

#define SIGCONTEXT_EXTRA_ARGS   _si,

Definition at line 20 of file sigcontextinfo.h.