This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello,
I am having trouble with a simple debugging switch in arm-elf-gcc.
I include the -g switch in the make file compiler flags like such:
CFLAGS = -g -Wall -I$(PKG_INSTALL_DIR)/include -ffunction-sections -fdata-sections
I get the following output, which shows it took the -g switch, when I build the project files for an application called "basic_lcd::
$ make arm-elf-gcc -c -o basic_lcd.o -g -Wall -I/ecos-c/ECOS_db/ecos_min_v2_install/inc lude -ffunction-sections -fdata-sections basic_lcd.c
Yet when I run the arm-elf-objdump binary utility I get the following output:
$ arm-elf-objdump -g basic_lcd
basic_lcd: file format elf32-littlearm
arm-elf-objdump: basic_lcd: no recognized debugging information
In addition I can see a size difference in the files when compiled with and without the -g switch for debugging.
I can see that the debugging switch is adding information to the file, yet the extra information is not recognized as debugging information.
If anyone has any experience with this, thanks in advance for your hints and help.
Regards, Aaron Case
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |