C++程序  |  33行  |  838 B

/* Generated by ./xlat/gen.sh from ./xlat/sigtrap_codes.in; do not edit. */
#if !(defined(TRAP_BRKPT) || (defined(HAVE_DECL_TRAP_BRKPT) && HAVE_DECL_TRAP_BRKPT))
# define TRAP_BRKPT 1
#endif
#if !(defined(TRAP_TRACE) || (defined(HAVE_DECL_TRAP_TRACE) && HAVE_DECL_TRAP_TRACE))
# define TRAP_TRACE 2
#endif
#if !(defined(TRAP_BRANCH) || (defined(HAVE_DECL_TRAP_BRANCH) && HAVE_DECL_TRAP_BRANCH))
# define TRAP_BRANCH 3
#endif
#if !(defined(TRAP_HWBKPT) || (defined(HAVE_DECL_TRAP_HWBKPT) && HAVE_DECL_TRAP_HWBKPT))
# define TRAP_HWBKPT 4
#endif

#ifdef IN_MPERS

extern const struct xlat sigtrap_codes[];

#else

# if !(defined HAVE_M32_MPERS || defined HAVE_MX32_MPERS)
static
# endif
const struct xlat sigtrap_codes[] = {
 XLAT(TRAP_BRKPT),
 XLAT(TRAP_TRACE),
 XLAT(TRAP_BRANCH),
 XLAT(TRAP_HWBKPT),
 XLAT_END
};

#endif /* !IN_MPERS */