Altera_Forum
Honored Contributor
15 years agoHow to generate vmlinux with debug symbols.
Hi All,
I want to use the debugger. Therefore, I'm want to generate a vmlinux with debug symbols. Have the following settings in Menuconfig.Linux Kernel v2.6.30 Configration
Kernel hacking --->
kernel debugging
Compile the kernel with debug info I think that the following changes. But, vmlinux with debug symbols is not generated. top\linux-2.6\Makefile
ifdef CONFIG_DEBUG_INFO
KBUILD_CFLAGS += -g
KBUILD_AFLAGS += -gdwarf-2
endif Vmlinux with debug symbols will be generated What should I do? thanks a lot,