2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
authorJim Blandy <jimb@codesourcery.com>
Wed, 18 Feb 2004 04:22:02 +0000 (04:22 +0000)
committerJim Blandy <jimb@codesourcery.com>
Wed, 18 Feb 2004 04:22:02 +0000 (04:22 +0000)
Committed by Jim Blandy  <jimb@redhat.com>.

* gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.

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

index 249ba3babc4ee10023fe262b5af6337eb4c2dfe2..b258e9537ce253208aff860e296d105ce4615ef9 100644 (file)
@@ -2,6 +2,8 @@
 
        Committed by Jim Blandy  <jimb@redhat.com>.
 
+       * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
+
        * gdb.base/dump.exp: Handle negative offsets in decimal, not hex.
 
        * gdb.base/float.exp: Support s390*-*-* targets.
index 41ab2848c98db9e6d1d224a67ebc47f3ac24c9f6..c92534bdbea2ea9aff7e46a19a4df08ec8df8989 100644 (file)
@@ -174,7 +174,7 @@ gdb_test continue \
 # Test calling Objective-C methods
 #
 gdb_test "print \[self printHi\]" \
-    "Hi.*\\$\[0-9\] = -?\[0-9\]+" \
+    "Hi.*\\$\[0-9\] = \\(.*objc_object \\*\\) 0x\[0-9a-f\]+" \
     "Call an Objective-C method with no arguments"
 
 gdb_test "print \[self printNumber: 42\]" \