diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/frv/Kconfig.debug |
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'arch/frv/Kconfig.debug')
-rw-r--r-- | arch/frv/Kconfig.debug | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/arch/frv/Kconfig.debug b/arch/frv/Kconfig.debug new file mode 100644 index 000000000000..0034b654995d --- /dev/null +++ b/arch/frv/Kconfig.debug | |||
@@ -0,0 +1,74 @@ | |||
1 | menu "Kernel hacking" | ||
2 | |||
3 | source "lib/Kconfig.debug" | ||
4 | |||
5 | config EARLY_PRINTK | ||
6 | bool "Early printk" | ||
7 | depends on EMBEDDED && DEBUG_KERNEL | ||
8 | default n | ||
9 | help | ||
10 | Write kernel log output directly into the VGA buffer or to a serial | ||
11 | port. | ||
12 | |||
13 | This is useful for kernel debugging when your machine crashes very | ||
14 | early before the console code is initialized. For normal operation | ||
15 | it is not recommended because it looks ugly and doesn't cooperate | ||
16 | with klogd/syslogd or the X server. You should normally N here, | ||
17 | unless you want to debug such a crash. | ||
18 | |||
19 | config DEBUG_STACKOVERFLOW | ||
20 | bool "Check for stack overflows" | ||
21 | depends on DEBUG_KERNEL | ||
22 | |||
23 | config DEBUG_PAGEALLOC | ||
24 | bool "Page alloc debugging" | ||
25 | depends on DEBUG_KERNEL | ||
26 | help | ||
27 | Unmap pages from the kernel linear mapping after free_pages(). | ||
28 | This results in a large slowdown, but helps to find certain types | ||
29 | of memory corruptions. | ||
30 | |||
31 | config GDBSTUB | ||
32 | bool "Remote GDB kernel debugging" | ||
33 | depends on DEBUG_KERNEL | ||
34 | select DEBUG_INFO | ||
35 | select FRAME_POINTER | ||
36 | help | ||
37 | If you say Y here, it will be possible to remotely debug the kernel | ||
38 | using gdb. This enlarges your kernel ELF image disk size by several | ||
39 | megabytes and requires a machine with more than 16 MB, better 32 MB | ||
40 | RAM to avoid excessive linking time. This is only useful for kernel | ||
41 | hackers. If unsure, say N. | ||
42 | |||
43 | choice | ||
44 | prompt "GDB stub port" | ||
45 | default GDBSTUB_UART1 | ||
46 | depends on GDBSTUB | ||
47 | help | ||
48 | Select the on-CPU port used for GDB-stub | ||
49 | |||
50 | config GDBSTUB_UART0 | ||
51 | bool "/dev/ttyS0" | ||
52 | |||
53 | config GDBSTUB_UART1 | ||
54 | bool "/dev/ttyS1" | ||
55 | |||
56 | endchoice | ||
57 | |||
58 | config GDBSTUB_IMMEDIATE | ||
59 | bool "Break into GDB stub immediately" | ||
60 | depends on GDBSTUB | ||
61 | help | ||
62 | If you say Y here, GDB stub will break into the program as soon as | ||
63 | possible, leaving the program counter at the beginning of | ||
64 | start_kernel() in init/main.c. | ||
65 | |||
66 | config GDB_CONSOLE | ||
67 | bool "Console output to GDB" | ||
68 | depends on GDBSTUB | ||
69 | help | ||
70 | If you are using GDB for remote debugging over a serial port and | ||
71 | would like kernel messages to be formatted into GDB $O packets so | ||
72 | that GDB prints them as program output, say 'Y'. | ||
73 | |||
74 | endmenu | ||