The attached patch adds support for the AAPCS ABI (part of the Arm EABI). This is based on an earlier patch here: http://sourceware.org/ml/gdb-patches/2004-12/msg00358.html Which was more-or-less approved, but I only just got round to updating it. The support for different elf header flags has already been merged separately. This patch is the remaining procedure call interface bits. I've also addressed the comments in the above mail. Tested with cross to arm-none-eabi. Ok? Paul 2005-09-22 Paul Brook * arm-tdep.c (arm_type_align): New function. (arm_push_dummy_call): Use it. Ensure proper argument alignment. (arm_extract_struct_value_address): Remove. (arm_use_struct_convention): Rename... (arm_return_in_memory): ... To this. Return nonzero for all small aggregates under the EABI. (arm_return_value): New function. (arm_gdbarch_init): Default for VFP float model for EABI binaries. Use set_gdbarch_return_value instead of obsolete functions. * testsuite/long_long.exp: Exclude eabi targets from arm FPA float format test.