Hi, Is there a way to get more information of struct members name, address and size in the MAP-file? Today I only get the struct variable name and its address. typedef struct { u16_t member1; u16_t member2; } test_t; extern volatile test_t test_parameters; mapfile today "COMMON 0x2000032c 0x?? C:\parameters.o 0x2000032c test_parameters 0x200003?? . = ALIGN (0x4) 0x200003?? _ebss = . 0x200003?? PROVIDE (end, _ebss) 0x200003?? PROVIDE (_end, _ebss)" I'm using Ride 7 and GCC. Best regards Mattias
> Is there a way to get more information of struct members name, > address and size in the MAP-file? Today I only get the struct > variable name and its address. Ususally not, since all structure member accesses are already completely resolved by the compiler, when the linker sees the individual parts and creates the map file.
Is it possible to add some compiler/linker directives or comments in source code that will bring the struct members to the MAP-file? /Mattias
What is it, that you want to do? The information you are seeking, is present in the debug information, but it depends on what you want to do, if it is on any use to you.
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.