Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | menu "Kernel hacking" |
| 2 | |
| 3 | source "lib/Kconfig.debug" |
| 4 | |
| 5 | config KGDB |
| 6 | bool "Include kgdb kernel debugger" |
| 7 | depends on DEBUG_KERNEL && (BROKEN || PPC_GEN550 || 4xx) |
| 8 | select DEBUG_INFO |
| 9 | help |
| 10 | Include in-kernel hooks for kgdb, the Linux kernel source level |
| 11 | debugger. See <http://kgdb.sourceforge.net/> for more information. |
| 12 | Unless you are intending to debug the kernel, say N here. |
| 13 | |
| 14 | choice |
| 15 | prompt "Serial Port" |
| 16 | depends on KGDB |
| 17 | default KGDB_TTYS1 |
| 18 | |
| 19 | config KGDB_TTYS0 |
| 20 | bool "ttyS0" |
| 21 | |
| 22 | config KGDB_TTYS1 |
| 23 | bool "ttyS1" |
| 24 | |
| 25 | config KGDB_TTYS2 |
| 26 | bool "ttyS2" |
| 27 | |
| 28 | config KGDB_TTYS3 |
| 29 | bool "ttyS3" |
| 30 | |
| 31 | endchoice |
| 32 | |
| 33 | config KGDB_CONSOLE |
| 34 | bool "Enable serial console thru kgdb port" |
| 35 | depends on KGDB && 8xx || CPM2 |
| 36 | help |
| 37 | If you enable this, all serial console messages will be sent |
| 38 | over the gdb stub. |
| 39 | If unsure, say N. |
| 40 | |
| 41 | config XMON |
| 42 | bool "Include xmon kernel debugger" |
| 43 | depends on DEBUG_KERNEL |
| 44 | help |
| 45 | Include in-kernel hooks for the xmon kernel monitor/debugger. |
| 46 | Unless you are intending to debug the kernel, say N here. |
| 47 | |
| 48 | config BDI_SWITCH |
| 49 | bool "Include BDI-2000 user context switcher" |
| 50 | depends on DEBUG_KERNEL |
| 51 | help |
| 52 | Include in-kernel support for the Abatron BDI2000 debugger. |
| 53 | Unless you are intending to debug the kernel with one of these |
| 54 | machines, say N here. |
| 55 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 56 | config SERIAL_TEXT_DEBUG |
| 57 | bool "Support for early boot texts over serial port" |
Mark A. Greer | d01c08c | 2005-09-03 15:55:56 -0700 | [diff] [blame] | 58 | depends on 4xx || LOPEC || MV64X60 || PPLUS || PRPMC800 || \ |
| 59 | PPC_GEN550 || PPC_MPC52xx |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | |
| 61 | config PPC_OCP |
| 62 | bool |
Grant C. Likely | e27db62 | 2006-01-19 01:13:03 -0700 | [diff] [blame] | 63 | depends on IBM_OCP |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 64 | default y |
| 65 | |
| 66 | endmenu |