This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Save list of Symbols to a file

Hi,

I'm using uVision 5 and wonder whether there is the possibility to get a list of symbols for a given module with their type and location resp. address offset.

In the Debugger's Symbols Window I can see the required information, but I don't see a possibility to simply save this table (csv would be perfect, but almost anything else would do also).

Exporting the memory range in question with the D command is possible, but I'm lacking the symbol names for the particular memory addresses.

Since I need to compare a few versions of a quite big struct with a ton of members that only brings me half-way to the destination ;-)

What I intend to do is something like this (example with a struct called data_hold):

Member Type  Offset relative to struct
data_hold.init_data  unsigned char[12]   0
data_hold.para1     WORD 12
data_hold.para2 unsigned char 14

etc...

Does anyone have an idea how to do that or already did a similar thing before?

I might not see the obvious after trying for hours without real success, please bear with me if the solution is actually plain to see :-)

Best regards

Stephen