我已经完成了从源代码编译内核,
但如何使用debugging符号进行编译,还需要采取哪些额外步骤?
你需要CONFIG_DEBUG_INFO=y 。
CONFIG_DEBUG_INFO=y
更准确地说,问题是Compile the kernel with debug info (DEBUG_INFO) [N/y/?]它在Kernel debugging (DEBUG_KERNEL) [Y/n/?]头下。 你可能需要在这个下面启用一些其他的选项,以得到正确的。
Compile the kernel with debug info (DEBUG_INFO) [N/y/?]
Kernel debugging (DEBUG_KERNEL) [Y/n/?]