From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9140 invoked by alias); 28 May 2002 23:35:23 -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 9126 invoked from network); 28 May 2002 23:35:20 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 28 May 2002 23:35:20 -0000 Received: from romulus.sfbay.redhat.com (remus.sfbay.redhat.com [172.16.27.252]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id QAA26662; Tue, 28 May 2002 16:35:20 -0700 (PDT) Received: (from kev@localhost) by romulus.sfbay.redhat.com (8.11.6/8.11.6) id g4SNZHZ05468; Tue, 28 May 2002 16:35:17 -0700 Date: Tue, 28 May 2002 16:46:00 -0000 From: Kevin Buettner Message-Id: <1020528233517.ZM5467@localhost.localdomain> In-Reply-To: Jason R Thorpe "Re: [PATCH/RFA] Generic OS ABI handling for PowerPC" (May 28, 3:26pm) References: <20020528122612.O22765@dr-evil.shagadelic.org> <1020528194109.ZM21642@localhost.localdomain> <20020528125247.P22765@dr-evil.shagadelic.org> <1020528204629.ZM29455@localhost.localdomain> <20020528152642.S22765@dr-evil.shagadelic.org> To: Jason R Thorpe , Kevin Buettner Subject: Re: [PATCH/RFA] Generic OS ABI handling for PowerPC Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-05/txt/msg00984.txt.bz2 On May 28, 3:26pm, Jason R Thorpe wrote: > On Tue, May 28, 2002 at 01:46:29PM -0700, Kevin Buettner wrote: > > > Umm... rs6000-tdep.c references ppc_linux_* functions too. Are > > you suggesting that they too should be moved to rs6000-tdep.c? > > No it doesn't. My patch moves all references to those functions into > ppc-linux-tdep.c only, and uses the GDB OS ABI stuff to hook it in. I see. Up 'til now I hadn't looked at the new machinery you added. Nicely done. > > ppc-sysv-tdep.c - PowerPC SysV ABI > > I'm happy to move the ppc_sysv stuff into ppc-sysv-tdep.c, then, for now, > and add ppc-sysv-tdep.o to all the targets that currently use rs6000-tdep.o. > > Would that be an acceptable interim solution? Yeah, I like this better. > It seems certainly better than requiring all PowerPC targets to > slurp in ppc-linux-tdep.o (which contains a lot of code that is > completely useless for NetBSD, for example). Hmm. I see where you're coming from, but be careful in how you go about it because we don't want to preclude the building of a cross debugger which can debug both NetBSD/PPC and Linux/PPC binaries (connected to a suitable target of course). Kevin