Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / target-descriptions.c
index f83c2f963adb6635027424a51e3aa471e49b768f..29b80ddd79905e4d7689a92f75e9d6bbbe67c89a 100644 (file)
@@ -224,7 +224,7 @@ make_gdb_type (struct gdbarch *gdbarch, struct tdesc_type *ttype)
                 the total size of the structure.  */
              bitsize = f.end - f.start + 1;
              total_size = e->size * TARGET_CHAR_BIT;
-             if (gdbarch_bits_big_endian (m_gdbarch))
+             if (gdbarch_byte_order (m_gdbarch) == BFD_ENDIAN_BIG)
                SET_FIELD_BITPOS (fld[0], total_size - f.start - bitsize);
              else
                SET_FIELD_BITPOS (fld[0], f.start);
This page took 0.028196 seconds and 4 git commands to generate.