From 2af48f682683971cba5c8e8900e4334a1fc04fe1 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Mon, 26 Sep 2005 02:17:34 +0000 Subject: 2005-09-26 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. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/long_long.exp | 13 ++++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) (limited to 'gdb/testsuite') diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index be05d41..f4a7861 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-09-26 Paul Brook + + * long_long.exp: Exclude eabi targets from arm FPA float format test. + 2005-09-20 Wu Zhou * bfp-test.c: New file. diff --git a/gdb/testsuite/gdb.base/long_long.exp b/gdb/testsuite/gdb.base/long_long.exp index b36b30b..fb39d96 100644 --- a/gdb/testsuite/gdb.base/long_long.exp +++ b/gdb/testsuite/gdb.base/long_long.exp @@ -201,13 +201,16 @@ gdb_test_ptr "p/a val.oct" "" "" "0x77053977" "0xa72ee53977053977" gdb_test "p/c val.oct" "'w'" if { $sizeof_double == 8 || $sizeof_long_double == 8 } { - # ARM floating point numbers are not strictly little endian or big endian, - # but a hybrid. They are in little endian format with the two words - # swapped in big endian format. + # ARM FPA floating point numbers are not strictly little endian or big + # endian, but a hybrid. They are in little endian format with the two + # words swapped in big endian format. + # EABI targets default to natural-endian VFP format. - if { [istarget "arm*-*-*"] || \ + if { ([istarget "arm*-*-*"] || \ [istarget "xscale*-*-*"] || \ - [istarget "strongarm*-*-*"] } then { + [istarget "strongarm*-*-*"]) \ + && !([istarget "*-*-*eabi"] || \ + [istarget "*-*-symbianelf"]) } then { # assume the long long represents a floating point double in ARM format gdb_test "p/f val.oct" "2.1386676354387559e\\+265" } else { -- cgit v1.1