aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.debug
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-03-08 03:27:37 -0500
committerPaul Mundt <lethal@hera.kernel.org>2007-05-06 22:10:51 -0400
commitfa5da2f7bdcf885efe65a37df13907c7d72296f6 (patch)
tree54104d5f660a1ec824505b28540eb2c5e4be390a /arch/sh/Kconfig.debug
parent15700770ef7c5d12e2f1659d2ddbeb3f658d9f37 (diff)
sh: Bring kgdb back from the dead.
This code has suffered quite a bit of bitrot, do some basic tidying to get it to a reasonably functional state again. This gets the basic support and the console working again. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/Kconfig.debug')
-rw-r--r--arch/sh/Kconfig.debug15
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
80config KGDB 80config 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
88menu "KGDB configuration options" 89menu "KGDB configuration options"
89 depends on KGDB 90 depends on SH_KGDB
90 91
91config MORE_COMPILE_OPTIONS 92config 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
110config SH_KGDB_CONSOLE 111config 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
114config KGDB_SYSRQ 117config 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
118config KGDB_KERNEL_ASSERTS
119 bool "Include KGDB kernel assertions"
120 default n
121
122comment "Serial port setup" 121comment "Serial port setup"
123 122
124config KGDB_DEFPORT 123config KGDB_DEFPORT
@@ -131,7 +130,7 @@ config KGDB_DEFBAUD
131 130
132choice 131choice
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
137config KGDB_DEFPARITY_N 136config KGDB_DEFPARITY_N
@@ -147,7 +146,7 @@ endchoice
147 146
148choice 147choice
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
153config KGDB_DEFBITS_8 152config KGDB_DEFBITS_8