diff options
| author | Adrian Bunk <bunk@stusta.de> | 2005-01-07 22:16:10 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@evo.osdl.org> | 2005-01-07 22:16:10 -0800 |
| commit | 38326f786cf4529a86b1ccde3aa17f4fa7e8472a (patch) | |
| tree | a0e74060d04357ebc9c18d1612bede2ef5965889 /lib | |
| parent | 974933e65f6b0d2fdc0c75215aefd54da4d377db (diff) | |
[PATCH] DEBUG_BUGVERBOSE for i386
The patch below implements CONFIG_DEBUG_BUGVERBOSE for i386 (more exactly, it
allows disabling the verbose BUG() reporting).
Also, require CONFIG_EMBEDDED for this option: we don't want to make it easy
for people to disable useful debug info.
(With lots of help from Roman Zippel <zippel@linux-m68k.org>)
Signed-off-by: Adrian Bunk <bunk@fs.tum.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/Kconfig.debug | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 850bb10ec91e..908333250671 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -89,8 +89,9 @@ config DEBUG_HIGHMEM Disable for production systems. config DEBUG_BUGVERBOSE - bool "Verbose BUG() reporting (adds 70K)" - depends on DEBUG_KERNEL && (ARM || ARM26 || M32R || M68K || SPARC32 || SPARC64) + bool "Verbose BUG() reporting (adds 70K)" if DEBUG_KERNEL && EMBEDDED + depends on ARM || ARM26 || M32R || M68K || SPARC32 || SPARC64 || (X86 && !X86_64) + default !EMBEDDED help Say Y here to make BUG() panics output the file name and line number of the BUG call as well as the EIP and oops trace. This aids |
