From 219af8aaadd7868b531b3066c6249a7be3500a79 Mon Sep 17 00:00:00 2001 From: Jeff Layton Date: Thu, 2 Jun 2022 06:32:05 -0400 Subject: [PATCH] kernel: enable CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT The kernel builds don't currently include debug symbols. Enable them. Signed-off-by: Jeff Layton --- kernel/build/kernel-config-deb.sh | 1 + kernel/build/kernel-config-rpm.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/kernel/build/kernel-config-deb.sh b/kernel/build/kernel-config-deb.sh index 9bcba9c80..da9618c59 100755 --- a/kernel/build/kernel-config-deb.sh +++ b/kernel/build/kernel-config-deb.sh @@ -5937,6 +5937,7 @@ CONFIG_DEBUG_BUGVERBOSE=y # Compile-time checks and compiler options # CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y # CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_INFO_SPLIT is not set # CONFIG_DEBUG_INFO_DWARF4 is not set diff --git a/kernel/build/kernel-config-rpm.sh b/kernel/build/kernel-config-rpm.sh index 5c16e7815..1cc5b86af 100755 --- a/kernel/build/kernel-config-rpm.sh +++ b/kernel/build/kernel-config-rpm.sh @@ -5519,6 +5519,7 @@ CONFIG_DEBUG_BUGVERBOSE=y # Compile-time checks and compiler options # CONFIG_DEBUG_INFO=y +CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y # CONFIG_DEBUG_INFO_REDUCED is not set # CONFIG_DEBUG_INFO_SPLIT is not set # CONFIG_DEBUG_INFO_DWARF4 is not set -- 2.47.3