aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/Kconfig.debug
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/Kconfig.debug')
-rw-r--r--arch/sh/Kconfig.debug20
1 files changed, 8 insertions, 12 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
index 87902e0298e2..b56307294b67 100644
--- a/arch/sh/Kconfig.debug
+++ b/arch/sh/Kconfig.debug
@@ -33,6 +33,7 @@ config EARLY_SCIF_CONSOLE_PORT
33 default "0xffe00000" if CPU_SUBTYPE_SH7780 33 default "0xffe00000" if CPU_SUBTYPE_SH7780
34 default "0xfffe9800" if CPU_SUBTYPE_SH7206 34 default "0xfffe9800" if CPU_SUBTYPE_SH7206
35 default "0xf8420000" if CPU_SUBTYPE_SH7619 35 default "0xf8420000" if CPU_SUBTYPE_SH7619
36 default "0xa4400000" if CPU_SUBTYPE_SH7712 || CPU_SUBTYPE_SH7705
36 default "0xffe80000" if CPU_SH4 37 default "0xffe80000" if CPU_SH4
37 38
38config EARLY_PRINTK 39config EARLY_PRINTK
@@ -77,16 +78,17 @@ config 4KSTACKS
77 on the VM subsystem for higher order allocations. This option 78 on the VM subsystem for higher order allocations. This option
78 will also use IRQ stacks to compensate for the reduced stackspace. 79 will also use IRQ stacks to compensate for the reduced stackspace.
79 80
80config KGDB 81config SH_KGDB
81 bool "Include KGDB kernel debugger" 82 bool "Include KGDB kernel debugger"
82 select FRAME_POINTER 83 select FRAME_POINTER
84 select DEBUG_INFO
83 help 85 help
84 Include in-kernel hooks for kgdb, the Linux kernel source level 86 Include in-kernel hooks for kgdb, the Linux kernel source level
85 debugger. See <http://kgdb.sourceforge.net/> for more information. 87 debugger. See <http://kgdb.sourceforge.net/> for more information.
86 Unless you are intending to debug the kernel, say N here. 88 Unless you are intending to debug the kernel, say N here.
87 89
88menu "KGDB configuration options" 90menu "KGDB configuration options"
89 depends on KGDB 91 depends on SH_KGDB
90 92
91config MORE_COMPILE_OPTIONS 93config MORE_COMPILE_OPTIONS
92 bool "Add any additional compile options" 94 bool "Add any additional compile options"
@@ -103,22 +105,16 @@ config KGDB_NMI
103 bool "Enter KGDB on NMI" 105 bool "Enter KGDB on NMI"
104 default n 106 default n
105 107
106config KGDB_THREAD
107 bool "Include KGDB thread support"
108 default y
109
110config SH_KGDB_CONSOLE 108config SH_KGDB_CONSOLE
111 bool "Console messages through GDB" 109 bool "Console messages through GDB"
110 depends on !SERIAL_SH_SCI_CONSOLE
111 select SERIAL_CORE_CONSOLE
112 default n 112 default n
113 113
114config KGDB_SYSRQ 114config KGDB_SYSRQ
115 bool "Allow SysRq 'G' to enter KGDB" 115 bool "Allow SysRq 'G' to enter KGDB"
116 default y 116 default y
117 117
118config KGDB_KERNEL_ASSERTS
119 bool "Include KGDB kernel assertions"
120 default n
121
122comment "Serial port setup" 118comment "Serial port setup"
123 119
124config KGDB_DEFPORT 120config KGDB_DEFPORT
@@ -131,7 +127,7 @@ config KGDB_DEFBAUD
131 127
132choice 128choice
133 prompt "Parity" 129 prompt "Parity"
134 depends on KGDB 130 depends on SH_KGDB
135 default KGDB_DEFPARITY_N 131 default KGDB_DEFPARITY_N
136 132
137config KGDB_DEFPARITY_N 133config KGDB_DEFPARITY_N
@@ -147,7 +143,7 @@ endchoice
147 143
148choice 144choice
149 prompt "Data bits" 145 prompt "Data bits"
150 depends on KGDB 146 depends on SH_KGDB
151 default KGDB_DEFBITS_8 147 default KGDB_DEFBITS_8
152 148
153config KGDB_DEFBITS_8 149config KGDB_DEFBITS_8