aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/cris/Kconfig.debug31
1 files changed, 10 insertions, 21 deletions
diff --git a/arch/cris/Kconfig.debug b/arch/cris/Kconfig.debug
index cd72324935c4..0a1d62a23614 100644
--- a/arch/cris/Kconfig.debug
+++ b/arch/cris/Kconfig.debug
@@ -5,10 +5,13 @@ config PROFILING
5 bool "Kernel profiling support" 5 bool "Kernel profiling support"
6 6
7config SYSTEM_PROFILER 7config SYSTEM_PROFILER
8 bool "System profiling support" 8 bool "System profiling support"
9
10source "lib/Kconfig.debug"
9 11
10config ETRAX_KGDB 12config ETRAX_KGDB
11 bool "Use kernel GDB debugger" 13 bool "Use kernel GDB debugger"
14 depends on DEBUG_KERNEL
12 ---help--- 15 ---help---
13 The CRIS version of gdb can be used to remotely debug a running 16 The CRIS version of gdb can be used to remotely debug a running
14 Linux kernel via the serial debug port. Provided you have gdb-cris 17 Linux kernel via the serial debug port. Provided you have gdb-cris
@@ -22,25 +25,11 @@ config ETRAX_KGDB
22 this option is turned on! 25 this option is turned on!
23 26
24 27
25config DEBUG_INFO
26 bool "Compile the kernel with debug info"
27 help
28 If you say Y here the resulting kernel image will include
29 debugging info resulting in a larger kernel image.
30 Say Y here only if you plan to use gdb to debug the kernel.
31 If you don't debug the kernel, you can say N.
32
33config FRAME_POINTER
34 bool "Compile the kernel with frame pointers"
35 help
36 If you say Y here the resulting kernel image will be slightly larger
37 and slower, but it will give very useful debugging information.
38 If you don't debug the kernel, you can say N, but we may not be able
39 to solve problems without frame pointers.
40
41config DEBUG_NMI_OOPS 28config DEBUG_NMI_OOPS
42 bool "NMI causes oops printout" 29 bool "NMI causes oops printout"
43 help 30 depends on DEBUG_KERNEL
44 If the system locks up without any debug information you can say Y 31 help
45 here to make it possible to dump an OOPS with an external NMI. 32 If the system locks up without any debug information you can say Y
33 here to make it possible to dump an OOPS with an external NMI.
34
46endmenu 35endmenu