Root/
1 | menu "Kernel hacking" |
2 | |
3 | source "lib/Kconfig.debug" |
4 | |
5 | config DEBUG_STACKOVERFLOW |
6 | bool "Check for stack overflows" |
7 | depends on DEBUG_KERNEL |
8 | |
9 | config GDBSTUB |
10 | bool "Remote GDB kernel debugging" |
11 | depends on DEBUG_KERNEL |
12 | select DEBUG_INFO |
13 | select FRAME_POINTER |
14 | help |
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. |
20 | |
21 | choice |
22 | prompt "GDB stub port" |
23 | default GDBSTUB_UART1 |
24 | depends on GDBSTUB |
25 | help |
26 | Select the on-CPU port used for GDB-stub |
27 | |
28 | config GDBSTUB_UART0 |
29 | bool "/dev/ttyS0" |
30 | |
31 | config GDBSTUB_UART1 |
32 | bool "/dev/ttyS1" |
33 | |
34 | endchoice |
35 | |
36 | config GDBSTUB_IMMEDIATE |
37 | bool "Break into GDB stub immediately" |
38 | depends on GDBSTUB |
39 | help |
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. |
43 | |
44 | config GDB_CONSOLE |
45 | bool "Console output to GDB" |
46 | depends on GDBSTUB |
47 | help |
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'. |
51 | |
52 | endmenu |
53 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9