Hi, this patch removes BITS_BIG_ENDIAN from defs.h by replacing it with its expression. The way to recognize endianess of a target is gdbarch_byte_order (current_gdbarch) == BFD_ENDIAN_BIG which is widely used by most files. So this macro is unnecessary. The other patch removes BITS_BIG_ENDIAN from the documentation. This patch introduces some new current_gdbarch's which will be replaced by a later patch. Tested on x86 without regressions. Is this ok ? ChangeLog: * value.h: Correct comment. * value.c (struct value): Likewise. * gdbtypes.h (struct field): Likewise. (unpack_field_as_long, modify_field): Replace BITS_BIG_ENDIAN by its expression. * valops.c (value_slice): Likewise. * valarith.c (value_subscript, value_bit_index): Likewise. * eval.c (evaluate_subexp_standard): Likewise. * dwarf2read.c (dwarf2_add_field): Likewise. * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val) (move_bits, ada_value_assign, value_assign_to_component): Likewise. * defs.h (BITS_BIG_ENDIAN): Remove. ChangeLog doc: * gdbint.texinfo (BITS_BIG_ENDIAN): Remove. -- Markus Deuling GNU Toolchain for Linux on Cell BE deuling@de.ibm.com