3 source "lib/Kconfig.debug"
5 config SH_STANDARD_BIOS
6 bool "Use LinuxSH standard BIOS"
8 Say Y here if your target has the gdb-sh-stub
9 package from www.m17n.org (or any conforming standard LinuxSH BIOS)
10 in FLASH or EPROM. The kernel will use standard BIOS calls during
11 boot for various housekeeping tasks (including calls to read and
12 write characters to a system console, get a MAC address from an
13 on-board Ethernet interface, and shut down the hardware). Note this
14 does not work with machines with an existing operating system in
15 mask ROM and no flash (WindowsCE machines fall in this category).
18 config EARLY_SCIF_CONSOLE
19 bool "Use early SCIF console"
23 bool "Early printk support"
24 depends on SH_STANDARD_BIOS || EARLY_SCIF_CONSOLE
26 Say Y here to redirect kernel printk messages to the serial port
27 used by the SH-IPL bootloader, starting very early in the boot
28 process and ending when the kernel's serial console is initialised.
29 This option is only useful porting the kernel to a new machine,
30 when the kernel may crash or hang before the serial console is
31 initialised. If unsure, say N.
34 bool "Include KGDB kernel debugger"
36 Include in-kernel hooks for kgdb, the Linux kernel source level
37 debugger. See <http://kgdb.sourceforge.net/> for more information.
38 Unless you are intending to debug the kernel, say N here.
40 menu "KGDB configuration options"
43 config MORE_COMPILE_OPTIONS
44 bool "Add any additional compile options"
46 If you want to add additional CFLAGS to the kernel build, enable this
47 option and then enter what you would like to add in the next question.
48 Note however that -g is already appended with the selection of KGDB.
50 config COMPILE_OPTIONS
51 string "Additional compile arguments"
52 depends on MORE_COMPILE_OPTIONS
55 bool "Enter KGDB on NMI"
59 bool "Include KGDB thread support"
62 config SH_KGDB_CONSOLE
63 bool "Console messages through GDB"
67 bool "Allow SysRq 'G' to enter KGDB"
70 config KGDB_KERNEL_ASSERTS
71 bool "Include KGDB kernel assertions"
74 comment "Serial port setup"
77 int "Port number (ttySCn)"
87 default KGDB_DEFPARITY_N
89 config KGDB_DEFPARITY_N
92 config KGDB_DEFPARITY_E
95 config KGDB_DEFPARITY_O
103 default KGDB_DEFBITS_8
105 config KGDB_DEFBITS_8
108 config KGDB_DEFBITS_7
116 bool "Compile the kernel with frame pointers"
119 If you say Y here the resulting kernel image will be slightly larger
120 and slower, but it will give very useful debugging information.
121 If you don't debug the kernel, you can say N, but we may not be able
122 to solve problems without frame pointers.