Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Object file debug symbols

Intel_C_Intel
Employee
420 Views
I have inherited an application that reads the object file generated by the CVF 6.0A compiler to access the offset of static variables declared within a FORTRAN subroutine. The structure being read from the ?.debug$S? section of the object file looks like this.

typedef struct LDATA32_ENTRY_S
{
DWORD dwType;
DWORD dwOffset;
WORD wSegment;
BYTE cStringLength;
} LDATA32_ENTRY_T, *P_LDATA32_ENTRY_T;

Unfortunately sometime over the last year migrating from NT4.0 to W2K SP1 and SP5 for Dev Studio the dwOffset field is no longer accurately containing a valid offset for several (but not all) static variables within the subroutine. What we are seeing is that some variables are showing with the same offset as others?

Any ideas anyone?
0 Kudos
0 Replies
Reply