# SPDX-License-Identifier: GPL-2.0-only
bool "KGDB: kernel debugger"
depends on HAVE_ARCH_KGDB
If you say Y here, it will be possible to remotely debug the
kernel using gdb. It is recommended but not required, that
you also turn on the kernel config option
CONFIG_FRAME_POINTER to aid in producing more reliable stack
backtraces in the external debugger. Documentation of
kernel debugger is available at http://kgdb.sourceforge.net
as well as in Documentation/dev-tools/kgdb.rst. If
config KGDB_SERIAL_CONSOLE
tristate "KGDB: use kgdb over the serial console"
depends on TTY && HW_CONSOLE
Share a serial console with kgdb. Sysrq-g must be used
bool "KGDB: internal test suite"
This is a kgdb I/O module specifically designed to test
kgdb's internal functions. This kgdb I/O module is
intended to for the development of new kgdb stubs
as well as regression testing the kgdb internals.
See the drivers/misc/kgdbts.c for the details about
the tests. The most basic of this I/O module is to boot
a kernel boot arguments "kgdbwait kgdbts=V1F100"