From: Michael Snyder <msnyder@redhat.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [ping] Re: Add sh target to float.exp
Date: Tue, 12 Aug 2003 22:28:00 -0000 [thread overview]
Message-ID: <3F3969F3.1010909@redhat.com> (raw)
In-Reply-To: <16184.14574.897103.24943@localhost.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 283 bytes --]
Elena Zannoni wrote:
>Michael Snyder writes:
> >
> > Ping, and revised per feedback:
> >
>
>OK, but can you add a test on some other register? At least fr1 to
>make sure we at least get past the output of the first float
>value. You could also add fr15.
>
Committed like this:
[-- Attachment #2: float.exp.test --]
[-- Type: text/plain, Size: 1084 bytes --]
2003-08-12 Michael Snyder <msnyder@redhat.com>
* gdb.base/float.exp: Add test for SH.
Index: gdb.base/float.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.base/float.exp,v
retrieving revision 1.5
diff -p -r1.5 float.exp
*** gdb.base/float.exp 6 Jul 2003 22:27:34 -0000 1.5
--- gdb.base/float.exp 12 Aug 2003 22:26:45 -0000
*************** if { [istarget "alpha*-*-*"] } then {
*** 63,68 ****
--- 63,78 ----
gdb_test "info float" "f0.*f1.*f127.*" "info float"
} elseif [istarget "m68k-*-*"] then {
gdb_test "info float" "fp0.*fp1.*fp7.*" "info float"
+ } elseif [istarget "sh*-*"] then {
+ # SH may or may not have an FPU
+ gdb_test_multiple "info float" "info float" {
+ -re "fpul.*fr0.*fr1.*fr15.*$gdb_prompt $" {
+ pass "info float (with FPU)"
+ }
+ -re "No floating.point info available for this processor.*" {
+ pass "info float (without FPU)"
+ }
+ }
} else {
gdb_test "info float" "No floating.point info available for this processor." "info float"
}
prev parent reply other threads:[~2003-08-12 22:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-29 21:57 Michael Snyder
2003-07-29 22:03 ` David Carlton
2003-07-29 22:30 ` Michael Snyder
2003-08-11 22:54 ` [ping] " Michael Snyder
2003-08-12 0:38 ` Elena Zannoni
2003-08-12 22:16 ` Michael Snyder
2003-08-12 22:28 ` Michael Snyder [this message]
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=3F3969F3.1010909@redhat.com \
--to=msnyder@redhat.com \
--cc=ezannoni@redhat.com \
--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