Tool/software: TI C/C++ Compiler
Hello,
First:
Windows 10
CCS 8.1
TMS570LS3137
DWARF 3 (I have tried 4)
Background:
I am trying to get info out of the Symbol Table regarding variable size/type. I have found some threads about using the armofd.exe with -v to parse my .out file and that gets me part of what I am looking for.
My issue involve having things like arrays of structs. I can find the size of the array (0x500), but then the Type is object. Or if i go through the .asm files i can kind of put together what I want, but its all $C$DW$82.
My end goal is to find a way I can get the global variable addresses and create a Data Dictionary. The problem is when it comes to arrays I cant always figure out easily and there for the offset. I might know that an array has a size of 0x500, but i dont know how many entries it has or the size the of the each entry.
I did find the cgxml scripts but they seem dated and the readme files are pretty rough and not very clear.
Question:
What would be the best/easiest way to get the addresses, size, element size, and number of elements of these variables?
Thanks,
Ryan