This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Fix "info float" test on amd64
- From: Mark Kettenis <kettenis at chello dot nl>
- To: gdb-patches at sources dot redhat dot com
- Date: Sat, 31 May 2003 21:54:18 +0200 (CEST)
- Subject: [PATCH] Fix "info float" test on amd64
Since amd64 shares its "info float: implementation with the i386, we
should expect similar output.
Checked in.
Mark
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* gdb.base/float.exp: Expect similar output for x86_64-*-* as for
i?86-*-*.
Index: gdb.base/float.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/float.exp,v
retrieving revision 1.1
diff -u -p -r1.1 float.exp
--- gdb.base/float.exp 15 Jan 2003 17:46:20 -0000 1.1
+++ gdb.base/float.exp 31 May 2003 19:46:40 -0000
@@ -55,7 +55,7 @@ if { [istarget "arm*-*-*"] || \
[istarget "xscale*-*-*"] || \
[istarget "strongarm*-*-*"] } then {
gdb_test "info float" "Software FPU type.*mask:.*flags:.*" "info float"
-} elseif [istarget "i?86-*-*"] then {
+} elseif { [istarget "i?86-*-*"] || [istarget "x86_64-*-*"] } then {
gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float"
} else {
gdb_test "info float" "No floating.point info available for this processor." "info float"