This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28P650DK: Compiler: how to get the member address of a structure variable in .out file?

Part Number: TMS320F28P650DK

Tool/software:

Dear experts,

My customer used F28377D before, using ccs8.3  + ti V6.4.3 compiler, he could use below configuration to get the address of a structure variable.

Now he is using F28P650, ccs12.6  + tiv22.6.1.LTS compiler, there is not this option now. How to get the member address of a structure variable in .out file?

  • I need a better understanding of what it means to ...

    get the member address of a structure variable in .out file

    When using the older compiler and --symdebug:coff, how is it done?  Please describe the steps in detail.  What does the final output look like?

    Thanks and regards,

    -George

  • He obtained member variables address from the red box sections by a utility.

  • He obtained member variables address from the red box sections by a utility.

    I presume this is a custom utility implemented by someone in his organization.  TI has no utility which performs a similar task.  Unfortunately, that utility has to be re-implemented to develop similar output by processing the ELF symbol table and the Dwarf debug information in the executable file.

    Thanks and regards,

    -George