This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Testing tweaks for xscale
- From: Michael Snyder <msnyder at cygnus dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: rearnsha at arm dot com
- Date: Fri, 3 May 2002 14:11:31 -0700
- Subject: [PATCH] Testing tweaks for xscale
2002-05-02 Michael Snyder <msnyder@redhat.com>
* gdb.base/long_long.exp: Add xscale target.
* gdb.base/default.exp: Add xscale target.
Index: gdb.base/default.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/default.exp,v
retrieving revision 1.9
diff -p -r1.9 default.exp
*** gdb.base/default.exp 29 Mar 2002 01:19:11 -0000 1.9
--- gdb.base/default.exp 3 May 2002 21:23:13 -0000
*************** gdb_test "info files" "" "info files"
*** 348,353 ****
--- 348,355 ----
#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 {
Index: gdb.base/long_long.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/long_long.exp,v
retrieving revision 1.7
diff -p -r1.7 long_long.exp
*** gdb.base/long_long.exp 17 Jul 2001 22:19:49 -0000 1.7
--- gdb.base/long_long.exp 3 May 2002 21:23:13 -0000
*************** if { $sizeof_double == 8 } {
*** 157,162 ****
--- 157,167 ----
# 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.*"
+
} else {
# assume the long long represents a floating point double in little