Compiling With Debug Info Does Not Work?
I am trying to compile Linux 2.6.10 with debug info using the "make menuconfig" Kernel_Hacking-->Kernel_debugging-->Compile_the_kernel_with_debug_info selection.
I can see that the C files are compiled with the -g option, but the resultant vmlinux ELF file contains debug information for only the head.S assembler file.
Is there a strip command happening somewhere? Or does this menuconfig option simply not work?
Also, it compiles with "-g -O2". Is there a way to compile it with "-g O0"?