diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-12-11 04:46:46 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-12-22 04:44:04 -0500 |
commit | ab6e570ba33dbee18c2520d386e0f367a9b573c3 (patch) | |
tree | 7594192d10726e72bf7744bb83bdc0c9a30891d1 /arch/sh/Kconfig.debug | |
parent | d7b01f78a3ae6a3cc21a16a1a3d377adc2227537 (diff) |
sh: Generic kgdb stub support.
This migrates from the old bitrotted kgdb stub implementation and moves
to the generic stub. In the process support for SH-2/SH-2A is also added,
which the old stub never provided.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig.debug')
-rw-r--r-- | arch/sh/Kconfig.debug | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug index 8f0c1fbd51a6..834a2d24342b 100644 --- a/arch/sh/Kconfig.debug +++ b/arch/sh/Kconfig.debug | |||
@@ -98,19 +98,6 @@ config IRQSTACKS | |||
98 | for handling hard and soft interrupts. This can help avoid | 98 | for handling hard and soft interrupts. This can help avoid |
99 | overflowing the process kernel stacks. | 99 | overflowing the process kernel stacks. |
100 | 100 | ||
101 | config SH_KGDB | ||
102 | bool "Include KGDB kernel debugger" | ||
103 | select FRAME_POINTER | ||
104 | select DEBUG_INFO | ||
105 | depends on CPU_SH3 || CPU_SH4 | ||
106 | help | ||
107 | Include in-kernel hooks for kgdb, the Linux kernel source level | ||
108 | debugger. See <http://kgdb.sourceforge.net/> for more information. | ||
109 | Unless you are intending to debug the kernel, say N here. | ||
110 | |||
111 | menu "KGDB configuration options" | ||
112 | depends on SH_KGDB | ||
113 | |||
114 | config MORE_COMPILE_OPTIONS | 101 | config MORE_COMPILE_OPTIONS |
115 | bool "Add any additional compile options" | 102 | bool "Add any additional compile options" |
116 | help | 103 | help |
@@ -122,62 +109,6 @@ config COMPILE_OPTIONS | |||
122 | string "Additional compile arguments" | 109 | string "Additional compile arguments" |
123 | depends on MORE_COMPILE_OPTIONS | 110 | depends on MORE_COMPILE_OPTIONS |
124 | 111 | ||
125 | config KGDB_NMI | ||
126 | def_bool n | ||
127 | prompt "Enter KGDB on NMI" | ||
128 | |||
129 | config SH_KGDB_CONSOLE | ||
130 | def_bool n | ||
131 | prompt "Console messages through GDB" | ||
132 | depends on !SERIAL_SH_SCI_CONSOLE && SERIAL_SH_SCI=y | ||
133 | select SERIAL_CORE_CONSOLE | ||
134 | |||
135 | config KGDB_SYSRQ | ||
136 | def_bool y | ||
137 | prompt "Allow SysRq 'G' to enter KGDB" | ||
138 | depends on MAGIC_SYSRQ | ||
139 | |||
140 | comment "Serial port setup" | ||
141 | |||
142 | config KGDB_DEFPORT | ||
143 | int "Port number (ttySCn)" | ||
144 | default "1" | ||
145 | |||
146 | config KGDB_DEFBAUD | ||
147 | int "Baud rate" | ||
148 | default "115200" | ||
149 | |||
150 | choice | ||
151 | prompt "Parity" | ||
152 | depends on SH_KGDB | ||
153 | default KGDB_DEFPARITY_N | ||
154 | |||
155 | config KGDB_DEFPARITY_N | ||
156 | bool "None" | ||
157 | |||
158 | config KGDB_DEFPARITY_E | ||
159 | bool "Even" | ||
160 | |||
161 | config KGDB_DEFPARITY_O | ||
162 | bool "Odd" | ||
163 | |||
164 | endchoice | ||
165 | |||
166 | choice | ||
167 | prompt "Data bits" | ||
168 | depends on SH_KGDB | ||
169 | default KGDB_DEFBITS_8 | ||
170 | |||
171 | config KGDB_DEFBITS_8 | ||
172 | bool "8" | ||
173 | |||
174 | config KGDB_DEFBITS_7 | ||
175 | bool "7" | ||
176 | |||
177 | endchoice | ||
178 | |||
179 | endmenu | ||
180 | |||
181 | if SUPERH64 | 112 | if SUPERH64 |
182 | 113 | ||
183 | config SH64_SR_WATCH | 114 | config SH64_SR_WATCH |