1 /* Generated by ./xlat/gen.sh from ./xlat/sigtrap_codes.in; do not edit. */ 2 #if !(defined(TRAP_BRKPT) || (defined(HAVE_DECL_TRAP_BRKPT) && HAVE_DECL_TRAP_BRKPT)) 3 # define TRAP_BRKPT 1 4 #endif 5 #if !(defined(TRAP_TRACE) || (defined(HAVE_DECL_TRAP_TRACE) && HAVE_DECL_TRAP_TRACE)) 6 # define TRAP_TRACE 2 7 #endif 8 #if !(defined(TRAP_BRANCH) || (defined(HAVE_DECL_TRAP_BRANCH) && HAVE_DECL_TRAP_BRANCH)) 9 # define TRAP_BRANCH 3 10 #endif 11 #if !(defined(TRAP_HWBKPT) || (defined(HAVE_DECL_TRAP_HWBKPT) && HAVE_DECL_TRAP_HWBKPT)) 12 # define TRAP_HWBKPT 4 13 #endif 14 15 #ifdef IN_MPERS 16 17 extern const struct xlat sigtrap_codes[]; 18 19 #else 20 21 # if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS) 22 static 23 # endif 24 const struct xlat sigtrap_codes[] = { 25 XLAT(TRAP_BRKPT), 26 XLAT(TRAP_TRACE), 27 XLAT(TRAP_BRANCH), 28 XLAT(TRAP_HWBKPT), 29 XLAT_END 30 }; 31 32 #endif /* !IN_MPERS */ 33