diff options
author | Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> | 2005-05-28 18:51:59 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-05-28 19:46:13 -0400 |
commit | 37fce857bec00d26d0e8251c909da2bd8736c949 (patch) | |
tree | f6b58ff263e3a76e2c2ce5beceb9cbedae4ebf3b | |
parent | 567b56508f7367e161d6d861ef214a900ab45ce9 (diff) |
[PATCH] 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.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | arch/um/Kconfig.debug | 4 | ||||
-rw-r--r-- | lib/Kconfig.debug | 3 |
2 files changed, 2 insertions, 5 deletions
diff --git a/arch/um/Kconfig.debug b/arch/um/Kconfig.debug index b89989de364d..bd41e4286d0d 100644 --- a/arch/um/Kconfig.debug +++ b/arch/um/Kconfig.debug | |||
@@ -2,10 +2,6 @@ menu "Kernel hacking" | |||
2 | 2 | ||
3 | source "lib/Kconfig.debug" | 3 | source "lib/Kconfig.debug" |
4 | 4 | ||
5 | config FRAME_POINTER | ||
6 | bool | ||
7 | default y if DEBUG_INFO | ||
8 | |||
9 | config PT_PROXY | 5 | config PT_PROXY |
10 | bool "Enable ptrace proxy" | 6 | bool "Enable ptrace proxy" |
11 | depends on XTERM_CHAN && DEBUG_INFO && MODE_TT | 7 | depends on XTERM_CHAN && DEBUG_INFO && MODE_TT |
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index ac23847ce0e3..0c421295e613 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug | |||
@@ -151,7 +151,8 @@ config DEBUG_FS | |||
151 | 151 | ||
152 | config FRAME_POINTER | 152 | config FRAME_POINTER |
153 | bool "Compile the kernel with frame pointers" | 153 | bool "Compile the kernel with frame pointers" |
154 | depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU || FRV) | 154 | depends on DEBUG_KERNEL && ((X86 && !X86_64) || CRIS || M68K || M68KNOMMU || FRV || UML) |
155 | default y if DEBUG_INFO && UML | ||
155 | help | 156 | help |
156 | If you say Y here the resulting kernel image will be slightly larger | 157 | If you say Y here the resulting kernel image will be slightly larger |
157 | and slower, but it will give very useful debugging information. | 158 | and slower, but it will give very useful debugging information. |