Support structure offsets that are 512K or larger.
[deliverable/binutils-gdb.git] / gdb / gdbtypes.c
index 0421cc5066a4ba7dc5ce452924b7855752cf9481..ec5c17a879ef385e4392f1b7ec2a292e07ee3d2c 100644 (file)
@@ -4297,8 +4297,8 @@ recursive_dump_type (struct type *type, int spaces)
                          idx, plongest (TYPE_FIELD_ENUMVAL (type, idx)));
       else
        printfi_filtered (spaces + 2,
-                         "[%d] bitpos %d bitsize %d type ",
-                         idx, TYPE_FIELD_BITPOS (type, idx),
+                         "[%d] bitpos %s bitsize %d type ",
+                         idx, plongest (TYPE_FIELD_BITPOS (type, idx)),
                          TYPE_FIELD_BITSIZE (type, idx));
       gdb_print_host_address (TYPE_FIELD_TYPE (type, idx), gdb_stdout);
       printf_filtered (" name '%s' (",
This page took 0.02562 seconds and 4 git commands to generate.