Remove gdbarch_bits_big_endian
[deliverable/binutils-gdb.git] / gdb / valarith.c
index 4920cfc18a606bce21ddea4890b1845bc55c4022..887acc86751078ad3f5944b2b6119d414edccd29 100644 (file)
@@ -1723,7 +1723,7 @@ value_bit_index (struct type *type, const gdb_byte *valaddr, int index)
   word = extract_unsigned_integer (valaddr + (rel_index / TARGET_CHAR_BIT), 1,
                                   type_byte_order (type));
   rel_index %= TARGET_CHAR_BIT;
-  if (gdbarch_bits_big_endian (gdbarch))
+  if (gdbarch_byte_order (gdbarch) == BFD_ENDIAN_BIG)
     rel_index = TARGET_CHAR_BIT - 1 - rel_index;
   return (word >> rel_index) & 1;
 }
This page took 0.032886 seconds and 4 git commands to generate.