From: Andreas Schwab Date: Sun, 6 Jul 2003 22:26:09 +0000 (+0000) Subject: * gdb.objc/basicclass.exp ("Call an Objective-C method with no X-Git-Tag: cagney_x86i386-20030821-branchpoint~108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d640e7ea96fae324e7e4ffbd7d8a95eda2f4384;p=thirdparty%2Fbinutils-gdb.git * 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-*-*. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index f24c86a3775..019a4df797b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2003-07-07 Andreas Schwab + + * 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 * gdb.base/store.c (charest): New typedef. diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp index 7aa75f35889..f681e1f1468 100644 --- a/gdb/testsuite/gdb.base/float.exp +++ b/gdb/testsuite/gdb.base/float.exp @@ -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" } diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp index 5fb51815333..39cf296042a 100644 --- a/gdb/testsuite/gdb.objc/basicclass.exp +++ b/gdb/testsuite/gdb.objc/basicclass.exp @@ -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\]" \