diff options
author | Jim Blandy <jimb@codesourcery.com> | 2004-02-18 04:22:02 +0000 |
---|---|---|
committer | Jim Blandy <jimb@codesourcery.com> | 2004-02-18 04:22:02 +0000 |
commit | 4fab7f37d681943208032c33d3596f9f604224ce (patch) | |
tree | 34a09c586ef4213fe09228f2fa19166472791f91 | |
parent | 853da83fca607241831535104f70ef8f9f6c0adc (diff) | |
download | gdb-4fab7f37d681943208032c33d3596f9f604224ce.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.
-rw-r--r-- | gdb/testsuite/ChangeLog | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.objc/basicclass.exp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 249ba3babc4..b258e9537ce 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -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. 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\]" \ |