My company is developing a GPS system on the old ST20 GP7 processor and we are seeing some issues with the debugger when it comes to displaying variables that are structs with structure members that are bit-fields.
For example: struct { unsigned A : 4 unsigned B : 16 unsigned C : 12 } my_struct ; struct my_struct test ; test.B = 0xbd50 ; When test.B is displayed in the debugger, it does not show the correct value. Has anyone experienced this, and perhaps have found a work around?