From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28171 invoked by alias); 15 Mar 2004 20:02:38 -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 28163 invoked from network); 15 Mar 2004 20:02:37 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 15 Mar 2004 20:02:37 -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 i2FK2b07006648 for ; Mon, 15 Mar 2004 15:02:37 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2FK2aS07924 for ; Mon, 15 Mar 2004 15:02:36 -0500 Received: from localhost.localdomain (vpn50-70.rdu.redhat.com [172.16.50.70]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i2FK2Z4q010176 for ; Mon, 15 Mar 2004 15:02:36 -0500 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i2FK2UcG017562 for ; Mon, 15 Mar 2004 13:02:30 -0700 Date: Mon, 15 Mar 2004 20:02:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: Re: [rfa/ppc GNU/Linux] Implement regset_from_core_section Message-Id: <20040315130230.2e569075@saguaro> In-Reply-To: <404CF2EF.4010007@gnu.org> References: <404CF2EF.4010007@gnu.org> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03.o/txt/msg00326.txt On Mon, 08 Mar 2004 17:25:51 -0500 Andrew Cagney wrote: > 2004-03-07 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. Okay, for both mainline and 6.1. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28171 invoked by alias); 15 Mar 2004 20:02:38 -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 28163 invoked from network); 15 Mar 2004 20:02:37 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 15 Mar 2004 20:02:37 -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 i2FK2b07006648 for ; Mon, 15 Mar 2004 15:02:37 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i2FK2aS07924 for ; Mon, 15 Mar 2004 15:02:36 -0500 Received: from localhost.localdomain (vpn50-70.rdu.redhat.com [172.16.50.70]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i2FK2Z4q010176 for ; Mon, 15 Mar 2004 15:02:36 -0500 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i2FK2UcG017562 for ; Mon, 15 Mar 2004 13:02:30 -0700 Date: Fri, 19 Mar 2004 00:09:00 -0000 From: Kevin Buettner To: gdb-patches@sources.redhat.com Subject: Re: [rfa/ppc GNU/Linux] Implement regset_from_core_section Message-ID: <20040315130230.2e569075@saguaro> In-Reply-To: <404CF2EF.4010007@gnu.org> References: <404CF2EF.4010007@gnu.org> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-03/txt/msg00326.txt.bz2 Message-ID: <20040319000900.NL9QTKq7lZW04BPdxH6ehi-qAgZCEKV0AiZXQIUQcvI@z> On Mon, 08 Mar 2004 17:25:51 -0500 Andrew Cagney wrote: > 2004-03-07 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. Okay, for both mainline and 6.1. Kevin