3 source "lib/Kconfig.debug"
5 config DEBUG_STACKOVERFLOW
6 bool "Check for stack overflows"
7 depends on DEBUG_KERNEL
10 bool "Remote GDB kernel debugging"
11 depends on DEBUG_KERNEL
15 If you say Y here, it will be possible to remotely debug the kernel
16 using gdb. This enlarges your kernel ELF image disk size by several
17 megabytes and requires a machine with more than 16 MB, better 32 MB
18 RAM to avoid excessive linking time. This is only useful for kernel
19 hackers. If unsure, say N.
22 prompt "GDB stub port"
26 Select the on-CPU port used for GDB-stub
36 config GDBSTUB_IMMEDIATE
37 bool "Break into GDB stub immediately"
40 If you say Y here, GDB stub will break into the program as soon as
41 possible, leaving the program counter at the beginning of
42 start_kernel() in init/main.c.
45 bool "Console output to GDB"
48 If you are using GDB for remote debugging over a serial port and
49 would like kernel messages to be formatted into GDB $O packets so
50 that GDB prints them as program output, say 'Y'.