This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfa?] Implement ppc32 SYSV {extract,store} return value
- From: Jason Thorpe <thorpej at wasabisystems dot com>
- To: Andrew Cagney <ac131313 at redhat dot com>
- Cc: Kevin Buettner <kevinb at redhat dot com>,gdb-patches at sources dot redhat dot com
- Date: Fri, 10 Oct 2003 13:25:02 -0700
- Subject: Re: [rfa?] Implement ppc32 SYSV {extract,store} return value
On Friday, October 10, 2003, at 01:22 PM, Andrew Cagney wrote:
My apologies for not having a lot of time to keep up with this, but...
+ /* For NetBSD, this is an on again, off again thing. Some systems
+ do use the broken struct convention, and some don't. */
set_gdbarch_use_struct_convention (gdbarch,
ppcnbsd_use_struct_convention);
+ set_gdbarch_extract_return_value (gdbarch,
ppc_sysv_abi_broken_extract_return_value);
+ set_gdbarch_store_return_value (gdbarch,
ppc_sysv_abi_broken_store_return_value);
set_solib_svr4_fetch_link_map_offsets (gdbarch,
nbsd_ilp32_solib_svr4_fetch_link_map_offsets);
on-again, off-again... which version of the compiler does which? Is
this a bug in GCC 2.95.3 (which is what shipped with NetBSD 1.6)?
(NetBSD 2.0 is going to ship with GCC 3.3.1.)
-- Jason R. Thorpe <thorpej@wasabisystems.com>