From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7587 invoked by alias); 28 May 2002 22:26:44 -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 7572 invoked from network); 28 May 2002 22:26:43 -0000 Received: from unknown (HELO dr-evil.shagadelic.org) (208.176.2.162) by sources.redhat.com with SMTP; 28 May 2002 22:26:43 -0000 Received: by dr-evil.shagadelic.org (Postfix, from userid 7518) id AB9B69869; Tue, 28 May 2002 15:26:42 -0700 (PDT) Date: Tue, 28 May 2002 16:35:00 -0000 From: Jason R Thorpe To: Kevin Buettner Cc: gdb-patches@sources.redhat.com Subject: Re: [PATCH/RFA] Generic OS ABI handling for PowerPC Message-ID: <20020528152642.S22765@dr-evil.shagadelic.org> Mail-Followup-To: Jason R Thorpe , Kevin Buettner , gdb-patches@sources.redhat.com References: <20020528122612.O22765@dr-evil.shagadelic.org> <1020528194109.ZM21642@localhost.localdomain> <20020528125247.P22765@dr-evil.shagadelic.org> <1020528204629.ZM29455@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1020528204629.ZM29455@localhost.localdomain>; from kevinb@redhat.com on Tue, May 28, 2002 at 01:46:29PM -0700 Organization: Wasabi Systems, Inc. X-SW-Source: 2002-05/txt/msg00983.txt.bz2 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. > 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? 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). -- -- Jason R. Thorpe