structs in MAP-file

Guest #1921926
Rate this post
useful
not useful
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
Guest #1921959
Rate this post
useful
not useful
> 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.

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now