Remove gdbarch_bits_big_endian
[deliverable/binutils-gdb.git] / gdb / dwarf2read.c
index 40d93c9b0e482aa32bface30a75515bab6b9541a..e009b523ccc831ca315f13a5ec4a44f8b8946242 100644 (file)
@@ -15127,7 +15127,7 @@ dwarf2_add_field (struct field_info *fip, struct die_info *die,
       attr = dwarf2_attr (die, DW_AT_bit_offset, cu);
       if (attr != nullptr)
        {
-         if (gdbarch_bits_big_endian (gdbarch))
+         if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG)
            {
              /* For big endian bits, the DW_AT_bit_offset gives the
                 additional bit offset from the MSB of the containing
This page took 0.027589 seconds and 4 git commands to generate.