* gdbarch.sh (function_list): Add new property bits_big_endian to
[deliverable/binutils-gdb.git] / gdb / eval.c
index 188cca0e0b09b39abfc6e9ed696a48e4c3b0a118..466ae248ce5541b83b23fb0b58ef9e2609290184 100644 (file)
@@ -686,7 +686,7 @@ evaluate_subexp_standard (struct type *expect_type,
              for (; range_low <= range_high; range_low++)
                {
                  int bit_index = (unsigned) range_low % TARGET_CHAR_BIT;
-                 if (BITS_BIG_ENDIAN)
+                 if (gdbarch_bits_big_endian (current_gdbarch))
                    bit_index = TARGET_CHAR_BIT - 1 - bit_index;
                  valaddr[(unsigned) range_low / TARGET_CHAR_BIT]
                    |= 1 << bit_index;
This page took 0.026799 seconds and 4 git commands to generate.