This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Handle return small struct in rs600 (size is not 4/8)


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]