How to compile the kernel with debug symbols? [closed]
Solution 1:
You need CONFIG_DEBUG_INFO=y
on the config.
More exactly, the question is Compile the kernel with debug info (DEBUG_INFO) [N/y/?]
and it's under the Kernel debugging (DEBUG_KERNEL) [Y/n/?]
header. You may need to enable some other option below this one to get to the right one.