Hi,
I'm using C2000 compiler, version 5.2.12, and when I use the ofd2000 some of my variables are missing in the Dwarf section but are visible in the Coff section. Is this a normal behaviour. I always thought that all the debug information is visible in the Dwarf and the coff is not usefull for me since I'm generating a tree view of variables of the code.
From what I've seen, the missing variables are globals, assigned to a section using pragma, used in the code and shown in the map file.
In the code:
In h file:
#pragma DATA_SECTION( "applversion" );
BuildInfo buildInfo;
In Cpp file:
SetBuildInfo( &buildInfo,
PRGM_VERSION_MAJOR,
PRGM_VERSION_MINOR,
PRGM_VERSION_LIVR,
PRGM_VERSION_REV );
In the map file:
0030000c _bootCan2Id
000007f0 _buildInfo
0031f882 _c_int00
Thanks
David