Kconfig.kgdb 1.7 KB

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