#elif defined __FreeBSD__
return &context->uc_mcontext.mc_rflags;
#elif defined LISP_FEATURE_DARWIN
- return &context->uc_mcontext->ss.rflags;
+ return CONTEXT_ADDR_FROM_STEM(rflags);
#elif defined __OpenBSD__
return &context->sc_eflags;
#else
void
sigtrap_handler(int signal, siginfo_t *info, void *void_context)
{
- int code = info->si_code;
os_context_t *context = (os_context_t*)void_context;
unsigned int trap;