3 source "lib/Kconfig.debug"
5 # RMK wants arm kernels compiled with frame pointers so hardwire this to y.
6 # If you know what you are doing and are willing to live without stack
7 # traces, you can get a slightly smaller kernel by setting this option to
8 # n, but then RMK will have to kill you ;).
13 If you say N here, the resulting kernel will be slightly smaller and
14 faster. However, when a problem occurs with the kernel, the
15 information that is reported is severely limited. Most people
19 bool "Verbose user fault messages"
21 When a user program crashes due to an exception, the kernel can
22 print a brief message explaining what the problem was. This is
23 sometimes helpful for debugging but serves no purpose on a
24 production system. Most people should say N here.
26 In addition, you need to pass user_debug=N on the kernel command
27 line to enable this feature. N consists of the sum of:
29 1 - undefined instruction events
31 4 - invalid data aborts
36 bool "Wait queue debugging"
37 depends on DEBUG_KERNEL
40 bool "Verbose kernel error messages"
41 depends on DEBUG_KERNEL
43 This option controls verbose debugging information which can be
44 printed when the kernel detects an internal error. This debugging
45 information is useful to kernel hackers when tracking down problems,
46 but mostly meaningless to other people. It's safe to say Y unless
47 you are concerned with the code size or don't want to see these
51 bool "Include GDB debugging information in kernel binary"
53 Say Y here to include source-level debugging information in the
54 `vmlinux' binary image. This is handy if you want to use gdb or
55 addr2line to debug the kernel. It has no impact on the in-memory
56 footprint of the running kernel but it can increase the amount of
57 time and disk space needed for compilation of the kernel. If in
60 # These options are only for real kernel hackers who want to get their hands dirty.
62 bool "Kernel low-level debugging functions"
63 depends on DEBUG_KERNEL
65 Say Y here to include definitions of printascii, printchar, printhex
66 in the kernel. This is helpful if you are debugging code that
67 executes before the console is initialized.
70 bool "Kernel low-level debugging via EmbeddedICE DCC channel"
73 Say Y here if you want the debug print routines to direct their
74 output to the EmbeddedICE macrocell's DCC channel using
75 co-processor 14. This is known to work on the ARM9 style ICE
78 It does include a timeout to ensure that the system does not
79 totally freeze when there is nothing connected to read.
81 config DEBUG_DC21285_PORT
82 bool "Kernel low-level debugging messages via footbridge serial port"
83 depends on DEBUG_LL && FOOTBRIDGE
85 Say Y here if you want the debug print routines to direct their
86 output to the serial port in the DC21285 (Footbridge). Saying N
87 will cause the debug messages to appear on the first 16550
90 config DEBUG_CLPS711X_UART2
91 bool "Kernel low-level debugging messages via UART2"
92 depends on DEBUG_LL && ARCH_CLPS711X
94 Say Y here if you want the debug print routines to direct their
95 output to the second serial port on these devices. Saying N will
96 cause the debug messages to appear on the first serial port.
98 config DEBUG_S3C2410_PORT
99 depends on DEBUG_LL && ARCH_S3C2410
100 bool "Kernel low-level debugging messages via S3C2410 UART"
102 Say Y here if you want debug print routines to go to one of the
103 S3C2410 internal UARTs. The chosen UART must have been configured
106 config DEBUG_S3C2410_UART
107 depends on DEBUG_LL && ARCH_S3C2410
108 int "S3C2410 UART to use for low-level debug"
111 Choice for UART for kernel low-level using S3C2410 UARTS,
112 should be between zero and two. The port must have been
113 initalised by the boot-loader before use.