Skip to contentSkip to conversation

uml: split CONFIG_FRAME_POINTER from DEBUG_INFO

PATCH In review [email protected] 1 participant 1 message May 9, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 5/6 uml: split CONFIG_FRAME_POINTER from DEBUG_INFO

Until now, FRAME_POINTER was set = DEBUG_INFO for UML. Change it to be the default way, so that it can be enabled alone (for instance to get better backtraces on crashes).
The call-trace dumper which uses the frame pointer is not yet in, I'm going to introduce it in a separate patch.

---

arch/um/Kconfig.debug renamed from arch/um/Kconfig.debug~uml-split-frame-pointer-option +0 -4
diff -puN arch/um/Kconfig.debug~uml-split-frame-pointer-option arch/um/Kconfig.debug
@@ -2,10 +2,6 @@ menu "Kernel hacking"
 
 source "lib/Kconfig.debug"
 
-config FRAME_POINTER
-	bool
-	default y if DEBUG_INFO
-
 config PT_PROXY
 	bool "Enable ptrace proxy"
 	depends on XTERM_CHAN && DEBUG_INFO && MODE_TT
lib/Kconfig.debug renamed from lib/Kconfig.debug~uml-split-frame-pointer-option +2 -1
diff -puN lib/Kconfig.debug~uml-split-frame-pointer-option lib/Kconfig.debug
@@ -151,7 +151,8 @@ config DEBUG_FS
 
 config FRAME_POINTER
 	bool "Compile the kernel with frame pointers"
-	depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU || FRV)
+	depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU || FRV || UML)
+	default y if DEBUG_INFO && UML
 	help
 	  If you say Y here the resulting kernel image will be slightly larger
 	  and slower, but it will give very useful debugging information.

_

-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel