From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17013 invoked by alias); 26 Mar 2004 20:29:26 -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 17005 invoked from network); 26 Mar 2004 20:29:24 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 26 Mar 2004 20:29:24 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i2QKTN1X028372 for ; Fri, 26 Mar 2004 15:29:23 -0500 Received: from zenia.home.redhat.com (porkchop.devel.redhat.com [172.16.58.2]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2QKTLj31830; Fri, 26 Mar 2004 15:29:22 -0500 To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: RFA: put fpscr in right place in core file References: <20040325221728.2483ecf8@saguaro> From: Jim Blandy Date: Fri, 26 Mar 2004 20:29:00 -0000 In-Reply-To: <20040325221728.2483ecf8@saguaro> Message-ID: User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2004-03/txt/msg00682.txt.bz2 Kevin Buettner writes: > On 24 Mar 2004 11:17:47 -0500 > Jim Blandy wrote: > > > This fixes a failure in gcore.exp. > > > > 2004-02-29 Jim Blandy > > > > * ppc-linux-nat.c (fill_fpregset): Place the 32-bit value of the > > fpscr in the right end of the 64-bit slot for it in the fpregset > > array. > > Okay. Oops. This got fixed last week. Never mind. 2004-03-15 Andrew Cagney * ppc-tdep.h: Update copyright. (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Change function signatures to match "regsets.h". * ppc-linux-tdep.c: Include "regset.h". (ELF_GREGSET_SIZE): Delete. (right_supply_register): New function. (ppc_linux_supply_fpregset, ppc_linux_supply_gregset): Rewrite using right_supply_register. (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): New functions. (ppc64_linux_gregset, ppc32_linux_gregset): Define. (ppc_linux_init_abi): Register ppc_linux_regset_from_core_section. (_initialize_ppc_linux_tdep): Do not register ppc_linux_regset_core_fns. (ppc_linux_regset_from_core_section): Replace fetch_core_registers. (ppc_linux_regset_core_fns): Delete. * ppc-linux-nat.c: (right_fill_reg): New function. (supply_gregset): Update call to ppc_linux_supply_gregset. (fill_gregset): Clear the register set, use right_fill_reg. (supply_fpregset): Update call to ppc_linux_supply_fpregset. (fill_fpregset): Use right_fill_reg, correctly compute FP offsets.