Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: gdb-patches@sources.redhat.com
Subject: Testsuite fixes
Date: Sun, 06 Jul 2003 21:32:00 -0000	[thread overview]
Message-ID: <m31xx39w9t.fsf@whitebox.as.local> (raw)

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\]" \


             reply	other threads:[~2003-07-06 21:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-06 21:32 Andreas Schwab [this message]
2003-07-06 21:47 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31xx39w9t.fsf@whitebox.as.local \
    --to=schwab@suse.de \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox