453bd3cc2ea01e4c54f8c94a59a2eda52163805e
1 /* Test program to test bit field operations */
3 /* For non-ANSI compilers, use plain ints for the signed bit fields. However,
4 whether they actually end up signed or not is implementation defined, so
5 this may cause some tests to fail. But at least we can still compile
6 the test program and run the tests... */
66 /* This is used by bitfields.exp to determine if the target understands
72 /* For each member, set that member to 1, allow gdb to verify that the
73 member (and only that member) is 1, and then reset it back to 0. */
115 /* Fill alternating fields with all 1's and verify that none of the bits
116 "bleed over" to the other fields. */
142 /* Fill the unsigned fields with the maximum positive value and verify
143 that the values are printed correctly. */
145 /* Maximum positive values */
156 /* Fill the signed fields with the maximum positive value, then the maximally
157 negative value, then -1, and verify in each case that the values are
158 printed correctly. */
160 /* Maximum positive values */
167 /* Maximally negative values */
172 /* Extract bitfield value so that bitfield.exp can check if the target
173 understands signed bitfields. */
This page took 0.040275 seconds and 4 git commands to generate.