From: Andrew Cagney <ac131313@redhat.com>
To: Michael Snyder <msnyder@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH] don't test long long return on h8
Date: Wed, 23 Jul 2003 20:30:00 -0000 [thread overview]
Message-ID: <3F1EF05F.7040906@redhat.com> (raw)
In-Reply-To: <3F1EDA71.1090602@redhat.com>
> long long is returned like a struct on h8 (by reference), and gdb can't do that.
I think it would be better to try the "return long_long" and check that
GDB reports an error.
Andrew
> 2003-07-23 Michael Snyder <msnyder@redhat.com>
>
> * gdb.base/return2.exp: Don't test long-long return.
>
> Index: gdb.base/return2.exp
> ===================================================================
> RCS file: /cvs/src/src/gdb/testsuite/gdb.base/return2.exp,v
> retrieving revision 1.3
> diff -p -r1.3 return2.exp
> *** gdb.base/return2.exp 16 Jul 2001 18:49:43 -0000 1.3
> --- gdb.base/return2.exp 23 Jul 2003 18:53:02 -0000
> *************** proc return2_tests { } {
> *** 109,115 ****
> return_1 "short"
> return_1 "int"
> return_1 "long"
> ! if { ! [istarget "m6811-*-*"] } then {
> return_1 "long_long"
> }
> return_1 "float"
> --- 109,115 ----
> return_1 "short"
> return_1 "int"
> return_1 "long"
> ! if { ! [istarget "m6811-*-*"] && ![istarget "h8300*-*"] } then {
> return_1 "long_long"
> }
> return_1 "float"
prev parent reply other threads:[~2003-07-23 20:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-23 18:56 Michael Snyder
2003-07-23 20:30 ` Andrew Cagney [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=3F1EF05F.7040906@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb-patches@sources.redhat.com \
--cc=msnyder@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