Go to the documentation of this file.
14 #include <linux/linkage.h>
20 extern asmlinkage void __debug_bug_trap(
int signr);
22 #ifdef CONFIG_NO_KERNEL_MSG
23 #define _debug_bug_printk()
26 #define _debug_bug_printk() __debug_bug_printk(__FILE__, __LINE__)
29 #define _debug_bug_trap(signr) \
31 __debug_bug_trap(signr); \
32 asm volatile("nop"); \
38 _debug_bug_printk(); \
39 _debug_bug_trap(6 ); \
43 #define HAVE_ARCH_KGDB_RAISE
44 #define kgdb_raise(signr) do { _debug_bug_trap(signr); } while(0)
46 #define HAVE_ARCH_KGDB_BAD_PAGE
47 #define kgdb_bad_page(page) do { kgdb_raise(SIGABRT); } while(0)