]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gdb.objc/basicclass.exp ("Call an Objective-C method with no
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 6 Jul 2003 22:26:09 +0000 (22:26 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 6 Jul 2003 22:26:09 +0000 (22:26 +0000)
arguments"): Also match negative number.

* gdb.base/float.exp ("info float"): Add test for m68k-*-*.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/float.exp
gdb/testsuite/gdb.objc/basicclass.exp

index f24c86a3775a7cac9c07339797ecf617932cffce..019a4df797bbe0906f158b6fd10fe8805f050e80 100644 (file)
@@ -1,3 +1,10 @@
+2003-07-07  Andreas Schwab  <schwab@suse.de>
+
+       * gdb.objc/basicclass.exp ("Call an Objective-C method with no
+       arguments"): Also match negative number.
+
+       * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
+
 2003-07-03  Daniel Jacobowitz  <drow@mvista.com>
 
        * gdb.base/store.c (charest): New typedef.
index 7aa75f35889bfb14507b44df95f38c17e3356977..f681e1f14684dd5eeb9435b9e091a2bd4fea9b21 100644 (file)
@@ -61,6 +61,8 @@ if { [istarget "alpha*-*-*"] } then {
     gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float"
 } elseif [istarget "ia64-*-*"] then {
     gdb_test "info float" "f0.*f1.*f127.*" "info float"
+} elseif [istarget "m68k-*-*"] then {
+    gdb_test "info float" "fp0.*fp1.*fp7.*" "info float"
 } else {
     gdb_test "info float" "No floating.point info available for this processor." "info float"
 }
index 5fb518153336f5d38153607b6685d157bc106ac2..39cf296042a96013b16223887e4160b95a3e8cea 100644 (file)
@@ -178,7 +178,7 @@ gdb_test continue \
 # Test calling Objective-C methods
 #
 gdb_test "print \[self printHi\]" \
-    "Hi.*\\$\[0-9\] = \[0-9\]+" \
+    "Hi.*\\$\[0-9\] = -?\[0-9\]+" \
     "Call an Objective-C method with no arguments"
 
 gdb_test "print \[self printNumber: 42\]" \