This is the mail archive of the gdb-patches@sourceware.org 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]

[commit] Fix gdb.base/long_long.exp for OpenBSD/arm


OpenBSD/arm uses a VFP software emulator, so skip the FPA branch here.

Committed,

Mark


Index: ChangeLog
from  Mark Kettenis  <kettenis@gnu.org>

	* gdb.base/long_long.exp (gdb_test_long_long): Exclude
	*-*-openbsd* from targets for wich we expect ARM FPA floating
	point format.

Index: gdb.base/long_long.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/long_long.exp,v
retrieving revision 1.17
diff -u -p -r1.17 long_long.exp
--- gdb.base/long_long.exp 7 Mar 2006 15:23:32 -0000 1.17
+++ gdb.base/long_long.exp 17 Jul 2006 22:07:53 -0000
@@ -207,10 +207,11 @@ if { $sizeof_double == 8 || $sizeof_long
     # EABI targets default to natural-endian VFP format.
 
     if { ([istarget "arm*-*-*"] || \
-	    [istarget "xscale*-*-*"] || \
-	    [istarget "strongarm*-*-*"]) \
-	  && !([istarget "*-*-*eabi"] || \
-		[istarget "*-*-symbianelf"]) } then {
+	  [istarget "xscale*-*-*"] || \
+	  [istarget "strongarm*-*-*"]) \
+	 && !([istarget "*-*-*eabi"] || \
+	      [istarget "*-*-openbsd*"] || \
+	      [istarget "*-*-symbianelf"]) } then {
 	# assume the long long represents a floating point double in ARM format
 	gdb_test "p/f val.oct" "2.1386676354387559e\\+265"
     } else {


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