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>
This commit is contained in:
parent
3aa770e797
commit
2549b3222f
2 changed files with 2 additions and 10 deletions
|
@ -32,6 +32,7 @@ config EARLY_PRINTK
|
||||||
|
|
||||||
config KGDB
|
config KGDB
|
||||||
bool "Include KGDB kernel debugger"
|
bool "Include KGDB kernel debugger"
|
||||||
|
select FRAME_POINTER
|
||||||
help
|
help
|
||||||
Include in-kernel hooks for kgdb, the Linux kernel source level
|
Include in-kernel hooks for kgdb, the Linux kernel source level
|
||||||
debugger. See <http://kgdb.sourceforge.net/> for more information.
|
debugger. See <http://kgdb.sourceforge.net/> for more information.
|
||||||
|
@ -112,13 +113,4 @@ endchoice
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
config FRAME_POINTER
|
|
||||||
bool "Compile the kernel with frame pointers"
|
|
||||||
default y if KGDB
|
|
||||||
help
|
|
||||||
If you say Y here the resulting kernel image will be slightly larger
|
|
||||||
and slower, but it will give very useful debugging information.
|
|
||||||
If you don't debug the kernel, you can say N, but we may not be able
|
|
||||||
to solve problems without frame pointers.
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -322,7 +322,7 @@ config DEBUG_VM
|
||||||
|
|
||||||
config FRAME_POINTER
|
config FRAME_POINTER
|
||||||
bool "Compile the kernel with frame pointers"
|
bool "Compile the kernel with frame pointers"
|
||||||
depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32)
|
depends on DEBUG_KERNEL && (X86 || CRIS || M68K || M68KNOMMU || FRV || UML || S390 || AVR32 || SUPERH)
|
||||||
default y if DEBUG_INFO && UML
|
default y if DEBUG_INFO && UML
|
||||||
help
|
help
|
||||||
If you say Y here the resulting kernel image will be slightly larger
|
If you say Y here the resulting kernel image will be slightly larger
|
||||||
|
|
Loading…
Reference in a new issue