Committed by Jim Blandy <jimb@redhat.com>.
* gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
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.
# 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\]" \