blob: 46bd4bf15f80d1c0700de7fe1dceb9cfb201b403 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include <stddef.h>
#include <signal.h>
#include <sys/ucontext.h>
--
SIG_SETMASK
#define ucontext(member) offsetof (ucontext_t, member)
#define mcontext(member) ucontext (uc_mcontext.member)
oLINK ucontext (uc_link)
oSS_SP ucontext (uc_stack.ss_sp)
oSS_SIZE ucontext (uc_stack.ss_size)
oGREGS mcontext (gregs)
oSP mcontext (gregs[R_SP])
oPC mcontext (gregs[R_PC])
oFPREGS mcontext (fpregs)
oFP2 mcontext (fpregs.f_fpregs[2])
oSIGMASK ucontext (uc_sigmask)
|