From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5193 invoked by alias); 10 Oct 2003 20:32:49 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5158 invoked from network); 10 Oct 2003 20:32:48 -0000 Received: from unknown (HELO localhost.redhat.com) (207.219.125.105) by sources.redhat.com with SMTP; 10 Oct 2003 20:32:48 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id 4361E2B89; Fri, 10 Oct 2003 16:32:47 -0400 (EDT) Message-ID: <3F87176F.4050207@redhat.com> Date: Fri, 10 Oct 2003 20:32:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.2) Gecko/20030820 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Jason Thorpe Cc: Kevin Buettner , gdb-patches@sources.redhat.com Subject: Re: [rfa?] Implement ppc32 SYSV {extract,store} return value References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-10/txt/msg00378.txt.bz2 > > 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.) The GCC shipped in 1.5 vs the one now in 1.6 $ gcc --version 2.95.3 Andrew