Kconfig.kgdb 1.6 KB

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