diff options
author | Paul Brook <paul@codesourcery.com> | 2005-09-26 02:17:34 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2005-09-26 02:17:34 +0000 |
commit | 2af48f682683971cba5c8e8900e4334a1fc04fe1 (patch) | |
tree | 104e7cf436f3e2bc153a9433aa69f40444fcbc4a /gdb/testsuite | |
parent | 42a102af06ac9f941b49b8f375d36c7ec4306570 (diff) | |
download | gdb-2af48f682683971cba5c8e8900e4334a1fc04fe1.zip gdb-2af48f682683971cba5c8e8900e4334a1fc04fe1.tar.gz gdb-2af48f682683971cba5c8e8900e4334a1fc04fe1.tar.bz2 |
2005-09-26 Paul Brook <paul@codesourcery.com>
* 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.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/long_long.exp | 13 |
2 files changed, 12 insertions, 5 deletions
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 <paul@codesourcery.com> + + * long_long.exp: Exclude eabi targets from arm FPA float format test. + 2005-09-20 Wu Zhou <woodzltc@cn.ibm.com> * 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 { |