From: Andreas Schwab <schwab@linux-m68k.org>
To: Mark Kettenis <mark.kettenis@xs4all.nl>
Cc: yao@codesourcery.com, gdb-patches@sourceware.org
Subject: Re: [patch] Handle return small struct in rs600 (size is not 4/8)
Date: Mon, 15 Aug 2011 17:57:00 -0000 [thread overview]
Message-ID: <m2ei0mk17k.fsf@igel.home> (raw)
In-Reply-To: <201108151605.p7FG5F1Z004428@glazunov.sibelius.xs4all.nl> (Mark Kettenis's message of "Mon, 15 Aug 2011 18:05:15 +0200 (CEST)")
Mark Kettenis <mark.kettenis@xs4all.nl> writes:
> ...what version of GDB are you looking at? The current code in
> ppc-sysv-tdep.c already handles the broken way GCC implements this.
> Just make sure your target uses ppc_sysv_abi_broken_return_value()
> instead of ppc_sysv_abi_return_value(). The NetBSD/powerpc and
> OpenBSD/powerpc targets already do this. Guessing that you're on
> Linux and that GCC is the primary compiler on that platform, it
> probably needs that same treatment.
I don't see any failures in gdb.base/structs.exp on ppc-linux or
ppc64-linux.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
prev parent reply other threads:[~2011-08-15 17:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-15 15:22 Yao Qi
2011-08-15 15:42 ` [patch] Handle return small struct in ppc " Yao Qi
2011-08-15 16:06 ` [patch] Handle return small struct in rs600 " Mark Kettenis
2011-08-15 16:56 ` Yao Qi
2011-08-15 17:27 ` Pedro Alves
2011-08-15 18:54 ` Andreas Schwab
2011-08-16 1:41 ` Yao Qi
2011-08-15 17:57 ` Andreas Schwab [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=m2ei0mk17k.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=gdb-patches@sourceware.org \
--cc=mark.kettenis@xs4all.nl \
--cc=yao@codesourcery.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