aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2003-07-06 22:27:34 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2003-07-06 22:27:34 +0000
commit83876b3be5d0a6ae7927ecf7347a5f793572a02e (patch)
tree568617c113c8e44c28ed7e21468caae03b1786c8 /gdb
parent87242c64601df0e5850a386dfbdaa1e2b9c31816 (diff)
downloadgdb-83876b3be5d0a6ae7927ecf7347a5f793572a02e.zip
gdb-83876b3be5d0a6ae7927ecf7347a5f793572a02e.tar.gz
gdb-83876b3be5d0a6ae7927ecf7347a5f793572a02e.tar.bz2
* gdb.objc/basicclass.exp ("Call an Objective-C method with no
arguments"): Also match negative number. * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/testsuite/ChangeLog7
-rw-r--r--gdb/testsuite/gdb.base/float.exp2
-rw-r--r--gdb/testsuite/gdb.objc/basicclass.exp2
3 files changed, 10 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 11f7ed0..7894a2b 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+2003-07-07 Andreas Schwab <schwab@suse.de>
+
+ * gdb.objc/basicclass.exp ("Call an Objective-C method with no
+ arguments"): Also match negative number.
+
+ * gdb.base/float.exp ("info float"): Add test for m68k-*-*.
+
2003-07-03 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/store.c (charest): New typedef.
diff --git a/gdb/testsuite/gdb.base/float.exp b/gdb/testsuite/gdb.base/float.exp
index 7aa75f3..f681e1f 100644
--- a/gdb/testsuite/gdb.base/float.exp
+++ b/gdb/testsuite/gdb.base/float.exp
@@ -61,6 +61,8 @@ if { [istarget "alpha*-*-*"] } then {
gdb_test "info float" "R7:.*Status Word:.*Opcode:.*" "info float"
} elseif [istarget "ia64-*-*"] then {
gdb_test "info float" "f0.*f1.*f127.*" "info float"
+} elseif [istarget "m68k-*-*"] then {
+ gdb_test "info float" "fp0.*fp1.*fp7.*" "info float"
} else {
gdb_test "info float" "No floating.point info available for this processor." "info float"
}
diff --git a/gdb/testsuite/gdb.objc/basicclass.exp b/gdb/testsuite/gdb.objc/basicclass.exp
index 5fb5181..39cf296 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\]" \