Skip to content

Commit d1eff16

Browse files
Qian Caitorvalds
authored andcommitted
configs/debug: set CONFIG_DEBUG_INFO=y properly
CONFIG_DEBUG_INFO can't be set by user directly, so set CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y instead. Otherwise, we end up with no debuginfo in vmlinux which is a big no-no for kernel debugging. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Qian Cai <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent dd21bfa commit d1eff16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/configs/debug.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ CONFIG_SYMBOLIC_ERRNAME=y
1616
#
1717
# Compile-time checks and compiler options
1818
#
19-
CONFIG_DEBUG_INFO=y
19+
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
2020
CONFIG_DEBUG_SECTION_MISMATCH=y
2121
CONFIG_FRAME_WARN=2048
2222
CONFIG_SECTION_MISMATCH_WARN_ONLY=y

0 commit comments

Comments
 (0)