[PATCH] arm64: defconfig: Enable CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT

Tudor Cretu tudor.cretu at arm.com
Wed Jul 20 09:07:32 PDT 2022


Without specifying an option for CONFIG_DEBUG_INFO, it defaults to
CONFIG_DEBUG_INFO_NONE, which disables the debugging information.
Choose the DWARF_TOOLCHAIN_DEFAULT option instead as default.

Signed-off-by: Tudor Cretu <tudor.cretu at arm.com>
---
 arch/arm64/configs/defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index 7d1105343bc2..4cae2b9b5436 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1297,6 +1297,7 @@ CONFIG_CRYPTO_DEV_HISI_TRNG=m
 CONFIG_CMA_SIZE_MBYTES=32
 CONFIG_PRINTK_TIME=y
 CONFIG_DEBUG_INFO=y
+CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
 CONFIG_DEBUG_INFO_REDUCED=y
 CONFIG_MAGIC_SYSRQ=y
 CONFIG_DEBUG_FS=y
-- 
2.25.1




More information about the linux-arm-kernel mailing list