We\'re working on a C program compiled with arm-eabi-gcc under Linux.
We\'re using a dump of a large structure and we\'re having problems determining at which adress we
Seems to me you could write a bit of code like this for the required fields
struct MyStruct S; int Offset_of_X=((long)&(S.X))-((long)&S);
to calculate the offset in bytes in this compile situation.
This should account for any alignment issues the compiler has.