factor/vm/os-linux-x86-64.h

3 lines
93 B
C

#define UAP_PROGRAM_COUNTER(ucontext) \
(((ucontext_t *)(ucontext))->uc_mcontext.gregs[16])