Commit | Line | Data |
---|---|---|
dc7d5527 | 1 | |
e024cbd2 JE |
2 | config HAVE_ARCH_KGDB |
3 | bool | |
4 | ||
dc7d5527 JW |
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 | ||
e024cbd2 | 16 | if KGDB |
dc7d5527 JW |
17 | |
18 | config KGDB_SERIAL_CONSOLE | |
19 | tristate "KGDB: use kgdb over the serial console" | |
dc7d5527 JW |
20 | select CONSOLE_POLL |
21 | select MAGIC_SYSRQ | |
22 | default y | |
23 | help | |
24 | Share a serial console with kgdb. Sysrq-g must be used | |
25 | to break in initially. | |
e8d31c20 JW |
26 | |
27 | config KGDB_TESTS | |
28 | bool "KGDB: internal test suite" | |
e8d31c20 JW |
29 | default n |
30 | help | |
31 | This is a kgdb I/O module specifically designed to test | |
32 | kgdb's internal functions. This kgdb I/O module is | |
33 | intended to for the development of new kgdb stubs | |
34 | as well as regression testing the kgdb internals. | |
35 | See the drivers/misc/kgdbts.c for the details about | |
36 | the tests. The most basic of this I/O module is to boot | |
37 | a kernel boot arguments "kgdbwait kgdbts=V1F100" | |
974460c5 JW |
38 | |
39 | config KGDB_TESTS_ON_BOOT | |
40 | bool "KGDB: Run tests on boot" | |
41 | depends on KGDB_TESTS | |
42 | default n | |
43 | help | |
44 | Run the kgdb tests on boot up automatically without the need | |
45 | to pass in a kernel parameter | |
46 | ||
47 | config KGDB_TESTS_BOOT_STRING | |
48 | string "KGDB: which internal kgdb tests to run" | |
49 | depends on KGDB_TESTS_ON_BOOT | |
50 | default "V1F100" | |
51 | help | |
52 | This is the command string to send the kgdb test suite on | |
53 | boot. See the drivers/misc/kgdbts.c for detailed | |
54 | information about other strings you could use beyond the | |
55 | default of V1F100. | |
e024cbd2 JE |
56 | |
57 | endif # KGDB |