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.

Compiler/TMS570LC4357: Is there a readelf utilities for ARM compilers

Part Number: TMS570LC4357

Tool/software: TI C/C++ Compiler

Hello all, 

I am using ARM compiler for a TMS570LC43 with CCS7 environment. 

I need ti know (for debugging purpose) addresses of all global variable (this is easy with map) but also, adresses of members for all global structure. 

For GCC compilers, we are using "readelf" utility, giving global object adresses and their types, in order to calculate members adresses. Is there something equivalent in ARL environment. 

Thanks for help

Alain

  • Alain Felici said:
    I am using ARM compiler for a TMS570LC43 with CCS7 environment. 

    I presume this means you use the TI ARM compiler.

    Alain Felici said:
    For GCC compilers, we are using "readelf" utility

    The TI ARM compiler also uses ELF object file format.  Therefore, you can use readelf.  Since you are already familiar with readelf, it is probably best if you continue to use it.  But there are other utilities to consider.  For additional information, including background on those additional utilities, please see the article A Brief History of TI Object File Formats.

    Thanks and regards,

    -George