Go to the documentation of this file.
7 #ifndef __FAULTINFO_I386_H
8 #define __FAULTINFO_I386_H
24 #define FAULT_WRITE(fi) ((fi).error_code & 2)
25 #define FAULT_ADDRESS(fi) ((fi).cr2)
28 #define SEGV_IS_FIXABLE(fi) ((fi)->trap_no == 14)
31 #define SEGV_MAYBE_FIXABLE(fi) ((fi)->trap_no == 0 && ptrace_faultinfo)
33 #define PTRACE_FULL_FAULTINFO 0