summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.objc/basicclass.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.objc/basicclass.exp')
-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 5fb51815333..39cf296042a 100644
--- a/gdb/testsuite/gdb.objc/basicclass.exp
+++ b/gdb/testsuite/gdb.objc/basicclass.exp
@@ -178,7 +178,7 @@ gdb_test continue \
# Test calling Objective-C methods
#
gdb_test "print \[self printHi\]" \
- "Hi.*\\$\[0-9\] = \[0-9\]+" \
+ "Hi.*\\$\[0-9\] = -?\[0-9\]+" \
"Call an Objective-C method with no arguments"
gdb_test "print \[self printNumber: 42\]" \