diff options
Diffstat (limited to 'arch/sh/Kconfig.debug')
-rw-r--r-- | arch/sh/Kconfig.debug | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug index 87902e0298e2..6be2385c1ad2 100644 --- a/arch/sh/Kconfig.debug +++ b/arch/sh/Kconfig.debug | |||
@@ -77,16 +77,17 @@ config 4KSTACKS | |||
77 | on the VM subsystem for higher order allocations. This option | 77 | on the VM subsystem for higher order allocations. This option |
78 | will also use IRQ stacks to compensate for the reduced stackspace. | 78 | will also use IRQ stacks to compensate for the reduced stackspace. |
79 | 79 | ||
80 | config KGDB | 80 | config SH_KGDB |
81 | bool "Include KGDB kernel debugger" | 81 | bool "Include KGDB kernel debugger" |
82 | select FRAME_POINTER | 82 | select FRAME_POINTER |
83 | select DEBUG_INFO | ||
83 | help | 84 | help |
84 | Include in-kernel hooks for kgdb, the Linux kernel source level | 85 | Include in-kernel hooks for kgdb, the Linux kernel source level |
85 | debugger. See <http://kgdb.sourceforge.net/> for more information. | 86 | debugger. See <http://kgdb.sourceforge.net/> for more information. |
86 | Unless you are intending to debug the kernel, say N here. | 87 | Unless you are intending to debug the kernel, say N here. |
87 | 88 | ||
88 | menu "KGDB configuration options" | 89 | menu "KGDB configuration options" |
89 | depends on KGDB | 90 | depends on SH_KGDB |
90 | 91 | ||
91 | config MORE_COMPILE_OPTIONS | 92 | config MORE_COMPILE_OPTIONS |
92 | bool "Add any additional compile options" | 93 | bool "Add any additional compile options" |
@@ -109,16 +110,14 @@ config KGDB_THREAD | |||
109 | 110 | ||
110 | config SH_KGDB_CONSOLE | 111 | config SH_KGDB_CONSOLE |
111 | bool "Console messages through GDB" | 112 | bool "Console messages through GDB" |
113 | depends on !SERIAL_SH_SCI_CONSOLE | ||
114 | select SERIAL_CORE_CONSOLE | ||
112 | default n | 115 | default n |
113 | 116 | ||
114 | config KGDB_SYSRQ | 117 | config KGDB_SYSRQ |
115 | bool "Allow SysRq 'G' to enter KGDB" | 118 | bool "Allow SysRq 'G' to enter KGDB" |
116 | default y | 119 | default y |
117 | 120 | ||
118 | config KGDB_KERNEL_ASSERTS | ||
119 | bool "Include KGDB kernel assertions" | ||
120 | default n | ||
121 | |||
122 | comment "Serial port setup" | 121 | comment "Serial port setup" |
123 | 122 | ||
124 | config KGDB_DEFPORT | 123 | config KGDB_DEFPORT |
@@ -131,7 +130,7 @@ config KGDB_DEFBAUD | |||
131 | 130 | ||
132 | choice | 131 | choice |
133 | prompt "Parity" | 132 | prompt "Parity" |
134 | depends on KGDB | 133 | depends on SH_KGDB |
135 | default KGDB_DEFPARITY_N | 134 | default KGDB_DEFPARITY_N |
136 | 135 | ||
137 | config KGDB_DEFPARITY_N | 136 | config KGDB_DEFPARITY_N |
@@ -147,7 +146,7 @@ endchoice | |||
147 | 146 | ||
148 | choice | 147 | choice |
149 | prompt "Data bits" | 148 | prompt "Data bits" |
150 | depends on KGDB | 149 | depends on SH_KGDB |
151 | default KGDB_DEFBITS_8 | 150 | default KGDB_DEFBITS_8 |
152 | 151 | ||
153 | config KGDB_DEFBITS_8 | 152 | config KGDB_DEFBITS_8 |