* Testsuite fixes
@ 2003-07-06 21:32 Andreas Schwab
2003-07-06 21:47 ` Daniel Jacobowitz
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Schwab @ 2003-07-06 21:32 UTC (permalink / raw)
To: gdb-patches
On m68k-linux addresses are usually negative, and "info float" now has
a generic implementation.
OK for HEAD and 6.0 branch?
Andreas.
2003-07-06 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-*-*.
--- gdb/testsuite/gdb.base/float.exp.~1.4.~ 2003-06-12 22:40:24.000000000 +0200
+++ gdb/testsuite/gdb.base/float.exp 2003-07-06 21:44:37.000000000 +0200
@@ -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"
}
--- gdb/testsuite/gdb.objc/basicclass.exp.~1.1.12.1.~ 2003-06-26 23:09:20.000000000 +0200
+++ gdb/testsuite/gdb.objc/basicclass.exp 2003-07-06 23:24:16.000000000 +0200
@@ -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\]" \
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-07-06 21:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-06 21:32 Testsuite fixes Andreas Schwab
2003-07-06 21:47 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox