Kconfig.debug 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. menu "Kernel hacking"
  2. source "lib/Kconfig.debug"
  3. config KGDB
  4. bool "Include kgdb kernel debugger"
  5. depends on DEBUG_KERNEL && (BROKEN || PPC_GEN550 || 4xx)
  6. select DEBUG_INFO
  7. help
  8. Include in-kernel hooks for kgdb, the Linux kernel source level
  9. debugger. See <http://kgdb.sourceforge.net/> for more information.
  10. Unless you are intending to debug the kernel, say N here.
  11. choice
  12. prompt "Serial Port"
  13. depends on KGDB
  14. default KGDB_TTYS1
  15. config KGDB_TTYS0
  16. bool "ttyS0"
  17. config KGDB_TTYS1
  18. bool "ttyS1"
  19. config KGDB_TTYS2
  20. bool "ttyS2"
  21. config KGDB_TTYS3
  22. bool "ttyS3"
  23. endchoice
  24. config KGDB_CONSOLE
  25. bool "Enable serial console thru kgdb port"
  26. depends on KGDB && 8xx || CPM2
  27. help
  28. If you enable this, all serial console messages will be sent
  29. over the gdb stub.
  30. If unsure, say N.
  31. config XMON
  32. bool "Include xmon kernel debugger"
  33. depends on DEBUG_KERNEL
  34. help
  35. Include in-kernel hooks for the xmon kernel monitor/debugger.
  36. Unless you are intending to debug the kernel, say N here.
  37. config BDI_SWITCH
  38. bool "Include BDI-2000 user context switcher"
  39. depends on DEBUG_KERNEL
  40. help
  41. Include in-kernel support for the Abatron BDI2000 debugger.
  42. Unless you are intending to debug the kernel with one of these
  43. machines, say N here.
  44. config SERIAL_TEXT_DEBUG
  45. bool "Support for early boot texts over serial port"
  46. depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \
  47. PPC_GEN550 || PPC_MPC52xx
  48. config PPC_OCP
  49. bool
  50. depends on IBM_OCP
  51. default y
  52. endmenu