Change ptype/o to print bit offset
[deliverable/binutils-gdb.git] / gdb / doc / gdb.texinfo
index dd8ae91b937c5f85a67b4908952d582586e2e163..b7f3b271d1fab934beb72516ddca8be5f5ad1371 100644 (file)
@@ -17861,15 +17861,16 @@ bitfields:
 /* XXX  3-bit hole   */
 /* XXX  4-byte hole  */
 /*    8      |     8 */    int64_t a5;
-/*   16:27   |     4 */    int a6 : 5;
-/*   16:56   |     8 */    int64_t a7 : 3;
+/*   16: 0   |     4 */    int a6 : 5;
+/*   16: 5   |     8 */    int64_t a7 : 3;
+"/* XXX  7-byte padding  */
 
                            /* total size (bytes):   24 */
                          @}
 @end smallexample
 
-Note how the offset information is now extended to also include how
-many bits are left to be used in each bitfield.
+Note how the offset information is now extended to also include the
+first bit of the bitfield.
 @end table
 
 @kindex ptype
This page took 0.059853 seconds and 4 git commands to generate.