[PATCH] Fix "info float" test on amd64

Mark Kettenis kettenis@chello.nl
Sat May 31 19:54:00 GMT 2003


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"



More information about the Gdb-patches mailing list