From 62f4b920f7e59d5b414fc581fdab175ecc578645 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Wed, 18 Feb 2004 04:22:02 +0000 Subject: 2004-02-17 Ulrich Weigand Committed by Jim Blandy . * gdb.objc/basicclass.exp: Adapt to fixed return type of printHi. --- gdb/testsuite/ChangeLog | 2 ++ gdb/testsuite/gdb.objc/basicclass.exp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 249ba3b..b258e95 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -2,6 +2,8 @@ Committed by Jim Blandy . + * 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 41ab284..c92534b 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\]" \ -- cgit v1.1