- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page