aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-09-27 03:22:33 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-09-27 03:22:33 -0400
commit2549b3222f588c188674aed0b9a0ef78bbba5c6c (patch)
treeaba7471cdec193c0d1f27a25505e9195dd612e4b
parent3aa770e7972723f479122cf66b529017d2175289 (diff)
sh: Use generic CONFIG_FRAME_POINTER.
We had our own version, which serves no purpose. Simply hook SH in to the generic one. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/Kconfig.debug10
-rw-r--r--lib/Kconfig.debug2
2 files changed, 2 insertions, 10 deletions
diff --git a/arch/sh/Kconfig.debug b/arch/sh/Kconfig.debug
index 8fb31ab2c02c..75ed1be8a49e 100644
--- a/arch/sh/Kconfig.debug
+++ b/arch/sh/Kconfig.debug
@@ -32,6 +32,7 @@ config EARLY_PRINTK
32 32
33config KGDB 33config KGDB
34 bool "Include KGDB kernel debugger" 34 bool "Include KGDB kernel debugger"
35 select FRAME_POINTER
35 help 36 help
36 Include in-kernel hooks for kgdb, the Linux kernel source level 37 Include in-kernel hooks for kgdb, the Linux kernel source level
37 debugger. See <http://kgdb.sourceforge.net/> for more information. 38 debugger. See <http://kgdb.sourceforge.net/> for more information.
@@ -112,13 +113,4 @@ endchoice
112 113
113endmenu 114endmenu
114 115
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 116endmenu
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index f1ac3184dc08..e7303fe54b01 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -322,7 +322,7 @@ config DEBUG_VM
322 322
323config FRAME_POINTER 323config FRAME_POINTER
324 bool "Compile the kernel with frame pointers" 324 bool "Compile the kernel with frame pointers"
325 depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32) 325 depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH)
326 default y if DEBUG_INFO && UML 326 default y if DEBUG_INFO && UML
327 help 327 help
328 If you say Y here the resulting kernel image will be slightly larger 328 If you say Y here the resulting kernel image will be slightly larger