Skip to content

Commit bc61806

Browse files
committed
x86_64: Build kernel with debug info, like all other archs
The defconfigs for all architectures other than x86_64 has this enabled, so align it with the rest. This has no on-target impact, but it enables us to attach to a live VM instance and debug it, or do offline debugging like resolving stack trace lines from oops messages to source locations.
1 parent 21df66d commit bc61806

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

board/x86_64/linux_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ CONFIG_NLS_ISO8859_1=y
261261
CONFIG_CRYPTO_AES=y
262262
CONFIG_CRYPTO_GCM=y
263263
CONFIG_DEBUG_KERNEL=y
264+
CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y
264265
CONFIG_MAGIC_SYSRQ=y
265266
CONFIG_DEBUG_FS=y
266267
CONFIG_PANIC_ON_OOPS=y

0 commit comments

Comments
 (0)