summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc
diff options
context:
space:
mode:
authorJim Blandy <jimb@codesourcery.com>2004-02-18 04:22:02 +0000
committerJim Blandy <jimb@codesourcery.com>2004-02-18 04:22:02 +0000
commit62f4b920f7e59d5b414fc581fdab175ecc578645 (patch)
treeb68a646208f758791ac7412c281feab76c869541 /gdb/testsuite/gdb.objc
parent9cbd5950d6314c1447900d98b6f1d157c1e33942 (diff)
downloadbinutils-gdb-62f4b920f7e59d5b414fc581fdab175ecc578645.tar.gz
2004-02-17 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Committed by Jim Blandy <jimb@redhat.com>. * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi.
Diffstat (limited to 'gdb/testsuite/gdb.objc')
-rw-r--r--gdb/testsuite/gdb.objc/basicclass.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp
index 41ab2848c98..c92534bdbea 100644
--- a/gdb/testsuite/gdb.objc/basicclass.exp
+++ b/gdb/testsuite/gdb.objc/basicclass.exp
@@ -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\]" \