Kconfig.debug 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. menu "Kernel hacking"
  2. config PROFILING
  3. bool "Kernel profiling support"
  4. config SYSTEM_PROFILER
  5. bool "System profiling support"
  6. source "lib/Kconfig.debug"
  7. config ETRAX_KGDB
  8. bool "Use kernel GDB debugger"
  9. depends on DEBUG_KERNEL
  10. ---help---
  11. The CRIS version of gdb can be used to remotely debug a running
  12. Linux kernel via the serial debug port. Provided you have gdb-cris
  13. installed, run gdb-cris vmlinux, then type
  14. (gdb) set remotebaud 115200 <- kgdb uses 115200 as default
  15. (gdb) target remote /dev/ttyS0 <- maybe you use another port
  16. This should connect you to your booted kernel (or boot it now if you
  17. didn't before). The kernel halts when it boots, waiting for gdb if
  18. this option is turned on!
  19. config DEBUG_NMI_OOPS
  20. bool "NMI causes oops printout"
  21. depends on DEBUG_KERNEL
  22. help
  23. If the system locks up without any debug information you can say Y
  24. here to make it possible to dump an OOPS with an external NMI.
  25. config NO_SEGFAULT_TERMINATION
  26. bool "Keep segfaulting processes"
  27. help
  28. Place segfaulting user mode processes on a wait queue instead of
  29. delivering a terminating SIGSEGV to allow debugging with gdb.
  30. endmenu