aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.debug
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/sh/Kconfig.debug
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/sh/Kconfig.debug')
-rw-r--r--arch/sh/Kconfig.debug124
1 files changed, 124 insertions, 0 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
new file mode 100644
index 000000000000..3fab181da364
--- /dev/null
+++ b/arch/sh/Kconfig.debug
@@ -0,0 +1,124 @@
1menu "Kernel hacking"
2
3source "lib/Kconfig.debug"
4
5config SH_STANDARD_BIOS
6 bool "Use LinuxSH standard BIOS"
7 help
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).
16 If unsure, say N.
17
18config EARLY_SCIF_CONSOLE
19 bool "Use early SCIF console"
20 depends on CPU_SH4
21
22config EARLY_PRINTK
23 bool "Early printk support"
24 depends on SH_STANDARD_BIOS || EARLY_SCIF_CONSOLE
25 help
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.
32
33config KGDB
34 bool "Include KGDB kernel debugger"
35 help
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.
39
40menu "KGDB configuration options"
41 depends on KGDB
42
43config MORE_COMPILE_OPTIONS
44 bool "Add any additional compile options"
45 help
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.
49
50config COMPILE_OPTIONS
51 string "Additional compile arguments"
52 depends on MORE_COMPILE_OPTIONS
53
54config KGDB_NMI
55 bool "Enter KGDB on NMI"
56 default n
57
58config KGDB_THREAD
59 bool "Include KGDB thread support"
60 default y
61
62config SH_KGDB_CONSOLE
63 bool "Console messages through GDB"
64 default n
65
66config KGDB_SYSRQ
67 bool "Allow SysRq 'G' to enter KGDB"
68 default y
69
70config KGDB_KERNEL_ASSERTS
71 bool "Include KGDB kernel assertions"
72 default n
73
74comment "Serial port setup"
75
76config KGDB_DEFPORT
77 int "Port number (ttySCn)"
78 default "1"
79
80config KGDB_DEFBAUD
81 int "Baud rate"
82 default "115200"
83
84choice
85 prompt "Parity"
86 depends on KGDB
87 default KGDB_DEFPARITY_N
88
89config KGDB_DEFPARITY_N
90 bool "None"
91
92config KGDB_DEFPARITY_E
93 bool "Even"
94
95config KGDB_DEFPARITY_O
96 bool "Odd"
97
98endchoice
99
100choice
101 prompt "Data bits"
102 depends on KGDB
103 default KGDB_DEFBITS_8
104
105config KGDB_DEFBITS_8
106 bool "8"
107
108config KGDB_DEFBITS_7
109 bool "7"
110
111endchoice
112
113endmenu
114
115config FRAME_POINTER
116 bool "Compile the kernel with frame pointers"
117 default y if KGDB
118 help
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.
123
124endmenu