134 |
|
|
135 |
/* si_addr not containing the faulting address is a bug in Darwin. |
/* si_addr not containing the faulting address is a bug in Darwin. |
136 |
Work around this by looking at the dar field of the exception state. */ |
Work around this by looking at the dar field of the exception state. */ |
137 |
|
#include <sys/ucontext.h> |
138 |
|
#include <sys/types.h> |
139 |
#define GET_FAULT_ADDR(sig,code,scp,addr) ((char *) (((ucontext_t *) scp)->uc_mcontext->es.dar)) |
#define GET_FAULT_ADDR(sig,code,scp,addr) ((char *) (((ucontext_t *) scp)->uc_mcontext->es.dar)) |
140 |
|
|
141 |
/* |
/* |