From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22889 invoked by alias); 20 Apr 2004 22:37:21 -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 22878 invoked from network); 20 Apr 2004 22:37:20 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 20 Apr 2004 22:37:20 -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 i3KMbKFg018781 for ; Tue, 20 Apr 2004 18:37:20 -0400 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 i3KMbKp22819; Tue, 20 Apr 2004 18:37:20 -0400 Received: from localhost.localdomain (vpn50-20.rdu.redhat.com [172.16.50.20]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id i3KMbJK6029477; Tue, 20 Apr 2004 18:37:19 -0400 Received: from saguaro (saguaro.lan [192.168.64.2]) by localhost.localdomain (8.12.10/8.12.10) with SMTP id i3KMbDOR014722; Tue, 20 Apr 2004 15:37:14 -0700 Date: Tue, 20 Apr 2004 22:37:00 -0000 From: Kevin Buettner To: Mark Kettenis Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] OpenBSD/powerpc support Message-Id: <20040420153713.120f57b5@saguaro> In-Reply-To: <200404181717.i3IHHKfb004204@elgar.kettenis.dyndns.org> References: <200404181717.i3IHHKfb004204@elgar.kettenis.dyndns.org> Organization: Red Hat Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00474.txt.bz2 On Sun, 18 Apr 2004 19:17:20 +0200 (CEST) Mark Kettenis wrote: > The attached patch adds support for OpenBSD/powerpc (OpenBSD/macppc) > to GDB. This stuff uses the new core file support, and to support > this, I've invented some new functions: > > * ppc_supply_gregset() > * ppc_collect_gregset() > * ppc_supply_fpregset() > * ppc_collect_fpregset() > > These functions would be useful to other POWER and PowerPC targets > too. The idea is to provide a `struct ppc_reg_offsets' initialized to > describe the layout of the registers in the relevant core file > sections. > > For now I've added these functions to ppcobsd-tdep.c (and the > definition of `struct pcc_reg_offsets' to ppcobsd-tdep.h. But they > should probably be moved to rs6000-tdep.c (and ppc-tdep.h). I'm willing for these functions to be added to rs6000-tdep.c and ppc-tdep.h at the outset. (Consider such a patch to be preapproved.) > OK to check this in? Sure. Thanks! Kevin