summaryrefslogtreecommitdiff
path: root/target/linux/config/Config.in.debug
blob: 57927f3ec5bdf61304f2d65ac33b50e8988ecf20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
menu "Kernel debugging"

config ADK_KERNEL_DEBUG_KERNEL
	boolean
	default n

config ADK_KERNEL_DEBUG_INFO
	boolean
	default n

config ADK_KERNEL_KGDB
	boolean
	default n

config ADK_KERNEL_KGDB_SERIAL_CONSOLE
	boolean
	default n

config ADK_KERNEL_FRAME_POINTER
	boolean
	default n

config ADK_KERNEL_MAGIC_SYSRQ
	prompt "Magic BREAK sequence"
	bool
	default y
	help
	  Enable this to be able to use the Magic SysRq functions,
	  probably using a serial console break.

config ADK_KERNEL_DEBUG_FS
	prompt "Debug Filesystem"
	bool
	default n
	help
	  debugfs is a virtual file system that kernel developers use to put
	  debugging files into.  Enable this option to be able to read and
	  write to these files.

config ADK_KERNEL_DEBUG_WITH_KGDB
	boolean
	prompt "Enable remote kernel debugging using KGDB"
	depends on ADK_TARGET_ROOTFS_NFSROOT || \
		ADK_TARGET_ROOTFS_EXT2_BLOCK || \
		ADK_TARGET_ROOTFS_EXT2
	default n
	select ADK_KERNEL_DEBUG_KERNEL
	select ADK_KERNEL_DEBUG_INFO
	select ADK_KERNEL_KGDB
	select ADK_KERNEL_KGDB_SERIAL_CONSOLE
	select ADK_KERNEL_FRAME_POINTER

endmenu