Happy shrimp
Http://blog.csdn.net/lights_joy/
Lights@hb165.com
This article applies
ADSP-BF561
Visual DSP ++ 5.0 (Update 6)
Bfin-uclinux-2009r1.6
Reprinted, but keep the author information
Next try to generate detailed dwarf debugging information in the uClinux kernel, open the linux-2.6.x/makefile, find this line:
Kbuild_cflags: =-wall-wundef-wstrict-prototypes-wno-trigraphs/
-Fno-strict-aliasing-fno-Common/
-Werror-implicit-function-Declaration
Add the following two options:
Kbuild_cflags: =-wall-wundef-wstrict-prototypes-wno-trigraphs/
-Fno-strict-aliasing-fno-Common/
-Werror-implicit-function-declaration-gdwarf-2-G3
In the vdsp loaded uClinux, interrupted to read the vmlinux, note, is the linux-2.6.x/directory of vmlinux, rather than the images directory of vmlinux:
Don't want to prompt there was an error reading the dwarf ....
After checking the objdump, a lot of debugging information has been added. It seems that although both vdsp and GCC support dwarf, there are still differences in implementation, So we should let it go first, try other things.
1 References
Dancing vdsp with uCLinux (4): loading uClinux)
Dancing vdsp with uCLinux (3): boot kernel)
Dancing vdsp with uCLinux (2): Impact of vdsp)
Dancing vdsp with uCLinux (1): Opening)