From: Michael Snyder Date: Fri, 3 May 2002 21:25:08 +0000 (+0000) Subject: 2002-05-02 Michael Snyder X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5c7a03973f39ca3ed80fc4ea2534c33a12d136b0;p=binutils-gdb.git 2002-05-02 Michael Snyder * gdb.base/long_long.exp: Add xscale target. * gdb.base/default.exp: Add xscale target. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 7e737a0ce90..7dd4e8e1e65 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2002-05-02 Michael Snyder + + * gdb.base/long_long.exp: Add xscale target. + * gdb.base/default.exp: Add xscale target. + 2002-05-01 Jim Blandy * gdb.c++/hang1.C, gdb.c++/hang2.C, gdb.c++/hang.H, diff --git a/gdb/testsuite/gdb.base/default.exp b/gdb/testsuite/gdb.base/default.exp index 8ebeba877d3..c79be2e1076 100644 --- a/gdb/testsuite/gdb.base/default.exp +++ b/gdb/testsuite/gdb.base/default.exp @@ -348,6 +348,8 @@ gdb_test "info files" "" "info files" #test info float if [istarget "arm*-*-*"] then { gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float" +} elseif [istarget "xscale*-*-*"] then { + gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float" } elseif [istarget "thumb*-*-*"] then { gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float" } elseif [istarget "strongarm*-*-*"] then { diff --git a/gdb/testsuite/gdb.base/long_long.exp b/gdb/testsuite/gdb.base/long_long.exp index ff8a1f91a31..016b0e67f6b 100644 --- a/gdb/testsuite/gdb.base/long_long.exp +++ b/gdb/testsuite/gdb.base/long_long.exp @@ -154,6 +154,11 @@ if { $sizeof_double == 8 } { if [ istarget "arm*-*-*" ] then { +# assume the long long represents a floating point double in ARM format + gdb_test "p/f oct" ".*2.1386676354387559e\\+265.*" + + } elseif [ istarget "xscale*-*-*" ] then { + # assume the long long represents a floating point double in ARM format gdb_test "p/f oct" ".*2.1386676354387559e\\+265.*"