- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Worked by "make mrproper" and "make clean". The following is a reference.Linux Kernel v2.6.30 Configration
Kernel hacking --->
kernel debugging
Compile the kernel with debug info
uClinux Distribution v4.0 Configration
Debug Build --->
build debugable libraries
build debugable applications
Thanks to all.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page