Kconfig.kgdb 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. menuconfig KGDB
  2. bool "KGDB: kernel debugging with remote gdb"
  3. select FRAME_POINTER
  4. depends on HAVE_ARCH_KGDB
  5. depends on DEBUG_KERNEL && EXPERIMENTAL
  6. help
  7. If you say Y here, it will be possible to remotely debug the
  8. kernel using gdb. Documentation of kernel debugger is available
  9. at http://kgdb.sourceforge.net as well as in DocBook form
  10. in Documentation/DocBook/. If unsure, say N.
  11. config HAVE_ARCH_KGDB_SHADOW_INFO
  12. bool
  13. config HAVE_ARCH_KGDB
  14. bool
  15. config KGDB_SERIAL_CONSOLE
  16. tristate "KGDB: use kgdb over the serial console"
  17. depends on KGDB
  18. select CONSOLE_POLL
  19. select MAGIC_SYSRQ
  20. default y
  21. help
  22. Share a serial console with kgdb. Sysrq-g must be used
  23. to break in initially.
  24. config KGDB_TESTS
  25. bool "KGDB: internal test suite"
  26. depends on KGDB
  27. default n
  28. help
  29. This is a kgdb I/O module specifically designed to test
  30. kgdb's internal functions. This kgdb I/O module is
  31. intended to for the development of new kgdb stubs
  32. as well as regression testing the kgdb internals.
  33. See the drivers/misc/kgdbts.c for the details about
  34. the tests. The most basic of this I/O module is to boot
  35. a kernel boot arguments "kgdbwait kgdbts=V1F100"
  36. config KGDB_TESTS_ON_BOOT
  37. bool "KGDB: Run tests on boot"
  38. depends on KGDB_TESTS
  39. default n
  40. help
  41. Run the kgdb tests on boot up automatically without the need
  42. to pass in a kernel parameter
  43. config KGDB_TESTS_BOOT_STRING
  44. string "KGDB: which internal kgdb tests to run"
  45. depends on KGDB_TESTS_ON_BOOT
  46. default "V1F100"
  47. help
  48. This is the command string to send the kgdb test suite on
  49. boot. See the drivers/misc/kgdbts.c for detailed
  50. information about other strings you could use beyond the
  51. default of V1F100.