This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH/RFA] Fix returning small structs on OpenBSD/arm
- From: Mark Kettenis <mark dot kettenis at xs4all dot nl>
- To: rearnsha at arm dot com
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 1 Aug 2006 22:02:04 +0200 (CEST)
- Subject: Re: [PATCH/RFA] Fix returning small structs on OpenBSD/arm
- References: <200607192125.k6JLPmuV014206@elgar.sibelius.xs4all.nl> <1154429362.16426.54.camel@pc960.cambridge.arm.com>
> From: Richard Earnshaw <rearnsha@arm.com>
> Date: Tue, 01 Aug 2006 11:49:23 +0100
>
> On Wed, 2006-07-19 at 22:25, Mark Kettenis wrote:
> > On OpenBSD/arm, all structures are returned in memory, i.e. the
> > -fpcc-struct-return GCC option is the default. There are a couple of
> > different ways we deal with pcc/reg struct return in GDB. This adapts
> > the way things are done on i386 and m68k. This makes it easy to
> > provide a user command to switch from one convention to the other like
> > i386 already has. However, right now I don't actually see much reason
> > to add that option on arm.
> >
> > Anyway, this shaves another 80 failures from the testsuite on
> > OpenBSD/arm.
> >
> > ok?
> >
>
> Yes, this is fine, thanks.
Thanks,
Committed