Remove gdbarch_bits_big_endian
[deliverable/binutils-gdb.git] / gdb / eval.c
index 72f5109a7c424739059e4ebba279c1ad32548e6c..87874420dc8643f422b78a7adac9039c89198a9a 100644 (file)
@@ -1547,7 +1547,7 @@ evaluate_subexp_standard (struct type *expect_type,
                {
                  int bit_index = (unsigned) range_low % TARGET_CHAR_BIT;
 
-                 if (gdbarch_bits_big_endian (exp->gdbarch))
+                 if (gdbarch_byte_order (exp->gdbarch) == BFD_ENDIAN_BIG)
                    bit_index = TARGET_CHAR_BIT - 1 - bit_index;
                  valaddr[(unsigned) range_low / TARGET_CHAR_BIT]
                    |= 1 << bit_index;
This page took 0.023696 seconds and 4 git commands to generate.