aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/long_long.exp
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2005-09-26 02:17:34 +0000
committerPaul Brook <paul@codesourcery.com>2005-09-26 02:17:34 +0000
commit2af48f682683971cba5c8e8900e4334a1fc04fe1 (patch)
tree104e7cf436f3e2bc153a9433aa69f40444fcbc4a /gdb/testsuite/gdb.base/long_long.exp
parent42a102af06ac9f941b49b8f375d36c7ec4306570 (diff)
downloadgdb-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/gdb.base/long_long.exp')
-rw-r--r--gdb/testsuite/gdb.base/long_long.exp13
1 files changed, 8 insertions, 5 deletions
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 {