Hello, This adds tables, indexed by the byte-order, for various be/le floatformat's and floating-point types. With this, instead of: if (info.byte_order != BFD_ENDIAN_BIG) set_gdbarch_float_format (gdbarch, floatformat_ieee_single_big); else set_gdbarch_float_format (gdbarch, floatformat_ieee_single_little); [sic], the shorter: set_gdbarch_float_format (gdbarch, floatformat_ieee_single[info.byte_order]); can be used. Similarly for the corresponding types. I'll follow up with a couple uses. committed, Andrew