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

Watch window display of GNU bitfields incorrect

I am using the Keil uVision3 debugger with GNUARM 4.1.1. It does not appear to correctly display data stored in bitfields in the Watch window. Other structure elements show the correct contents, but the bitfields appear to be using an incorrect shift factor to find the correct bits for each field. A memory dump shows that the structure does in fact contain the correct values (and the code operation verifies that the right values are being stored). It is only the watch display that is incorrect. I have contacted Keil customer support, but wanted to check and see if others had seen this as well and if there might be an easy workaround for the problem since trying to parse memory dumps manually is not very much fun.

0