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