8

I've already finishing compiling the kernel from source,

but how to compile it with debug symbols,what additional steps to I need to take?

yum
  • 619

1 Answers1

9

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.

coredump
  • 12,921