Other Parts Discussed in Thread: TMS320F2812
Tool/software:
Team,
Forwarding a customer query -
Family : C2000
Processor: TMS320F28035
Compiler - v18.12.3.LTS
Output format- COFF Legacy
Compiler Options:
-v28 -ml -mt -O4 --opt_for_speed=5 --fp_mode=relaxed --fp_reassoc=off --advice:performance=all --define=BUILDCONFIG_DISABLE_WATCHDOG=0 --define=BUILDCONF_ENABLE_DEBUG_OUTPUTS=0
Linker Options:
-g --c99 --diag_wrap=off --display_error_number --abi=coffabi --asm_define=GLOBAL_Q=16 -z -m"AmcFirmware.map" --stack_size=0x400 --warn_sections --reread_libs --disable_auto_rts --diag_wrap=off --display_error_number --xml_link_info="AmcFirmware_linkInfo.xml" --rom_model -o "AmcFirmware.out
Debug Options:
Debugging Model: Full symbolic debug (--symdebug:dwarf,-g)
Dwarf Version:3
Language Option:
C Dialect : --c99
Symbol Table Generation Tool:
COFF2STB
I am working on one of the projects which is utilizing the above specification for generating build output as (.out) format.
We are not able to produce the full symbol table and also .map file shows me limited variables. Many variables are left out like
- Global variable declared with "static".
- Structure members are not coming in the symbol table section. Only structure base address we are able to see.
- Data Type of all the variable produced in the symbol table section is "6" means INT32 - 32-bit integer.
- The tool (COFF2STB)which I am using to generate symbol table(.stb) file from (.out) output format is not able to fetch the correct symbol data type from it. The memory section for symbol table which is generated in the (.out) file is not producing correct debug information.
Please advice us below things:
- What options compiler we have to enable to produce correct symbol table information with all the variables.
- What is the correct Dwarf debug options we need to use.
- What is the way to generate different output format(.EABI) if we are migrating from COFF.
- What is the correct compatible compiler or CCS IDE version if want to remain in same COFF legacy output format.