This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch/rfa] fix float.exp test for hppa*-*


should be self-explanatory :) ok to check in?

randolph

2004-06-07  Randolph Chung  <tausq@debian.org>

	* gdb.base/float.exp: Add pattern for hppa*-* target; make the failure
	message for unknown architectures more clear.

Index: gdb.base/float.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/float.exp,v
retrieving revision 1.7
diff -u -p -r1.7 float.exp
--- gdb.base/float.exp	18 Feb 2004 03:42:51 -0000	1.7
+++ gdb.base/float.exp	8 Jun 2004 02:11:01 -0000
@@ -75,6 +75,8 @@ if { [istarget "alpha*-*-*"] } then {
 	      pass "info float (without FPU)"
 	}
     }
+} elseif [istarget "hppa*-*"] then {
+    gdb_test "info float" "fr4.*fr4R.*fr31R.*" "info float"
 } else {
-    gdb_test "info float" "No floating.point info available for this processor." "info float"
+    gdb_test "info float" "No floating.point info available for this processor." "info float (unknown target)"
 }
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]