path: root/lib
diff options
authorJan Beulich <>2006-03-24 03:16:19 -0800
committerLinus Torvalds <>2006-03-24 07:33:25 -0800
commit604bf5a216e7f2d97cdf62614ca1281921531040 (patch)
tree3510302f5ff0ae04940eb79b67cffe6dee561908 /lib
parentab7efcc97ebc92e03c0474dfd38f9c7b84b84115 (diff)
As a foundation for reliable stack unwinding, this adds a config option (available to all architectures except IA64 and those where the module loader might have problems with the resulting relocations) to enable the generation of frame unwind information. Signed-off-by: Jan Beulich <> Cc: Miles Bader <> Cc: "Luck, Tony" <> Cc: Ralf Baechle <> Cc: Kyle McMartin <> Cc: Benjamin Herrenschmidt <> Cc: Paul Mackerras <> Cc: "David S. Miller" <> Cc: Paul Mundt <>, Cc: Andi Kleen <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'lib')
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug
index a314e663d517..f2618e1c2b93 100644
--- a/lib/Kconfig.debug
+++ b/lib/Kconfig.debug
@@ -195,6 +195,17 @@ config FRAME_POINTER
some architectures or if you use external debuggers.
If you don't debug the kernel, you can say N.
+ bool "Compile the kernel with frame unwind information"
+ depends on !IA64
+ depends on !MODULES || !(MIPS || PARISC || PPC || SUPERH || SPARC64 || V850)
+ default DEBUG_KERNEL
+ help
+ If you say Y here the resulting kernel image will be slightly larger
+ but not slower, and 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 unwind information or frame pointers.
bool "Force gcc to inline functions marked 'inline'"
depends on DEBUG_KERNEL