From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23443 invoked by alias); 12 Sep 2003 20:43:10 -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 23435 invoked from network); 12 Sep 2003 20:43:10 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 12 Sep 2003 20:43:10 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id h8CKh8l24534 for ; Fri, 12 Sep 2003 16:43:08 -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 h8CKh7e02503 for ; Fri, 12 Sep 2003 16:43:07 -0400 Received: from localhost.localdomain (vpn50-21.rdu.redhat.com [172.16.50.21]) by pobox.corp.redhat.com (8.12.8/8.12.8) with ESMTP id h8CKh6xI018348; Fri, 12 Sep 2003 16:43:06 -0400 Received: (from kev@localhost) by localhost.localdomain (8.11.6/8.11.6) id h8CKh1S00718; Fri, 12 Sep 2003 13:43:01 -0700 Date: Fri, 12 Sep 2003 20:43:00 -0000 From: Kevin Buettner Message-Id: <1030912204301.ZM717@localhost.localdomain> In-Reply-To: Andrew Cagney "ppc-po-tdep.c?" (Sep 12, 3:52pm) References: <3F622409.5060104@redhat.com> To: Andrew Cagney , Kevin Buettner Subject: Re: ppc-po-tdep.c? Cc: gdb-patches@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2003-09/txt/msg00274.txt.bz2 On Sep 12, 3:52pm, Andrew Cagney wrote: > What do you think of a second ABI file (ppc-po-tdep.c?) along the lines > of ppc-sysv-tdep.c that would contain the "AIX" / "Apple" / "PowerOpen" > / "SYSVr4 PPC64" ABIs (they are all a close fit). I think this is a good idea. The name you've suggested is okay with me also. As I suggested to Jimi a few days ago, I'd like to eventually see the generic PPC code moved to its own file. The remainder of rs6000-tdep.c would then be AIX specific and this file could be renamed to ppc-aix-tdep.c. In "outline" form, this is what I'd eventually like to see: Generic PPC ISA: ppc-tdep.c - replaces rs6000-tdep.c for generic bits ABI specific: ppc-sysv-tdep.c ppc-po-tdep.c - PowerOpen ABI specific bits; some of rs6000-tdep.c is moved here. OS specific: ppc-aix-tdep.c ppc-linux-tdep.c ppcnbsd-tdep.c - I prefer ppc-nbsd-tdep.c though Native support: ppc-aix-nat.c - renamed from rs6000-nat.c ppc-linux-nat.c ppcnbsd-nat.c - I prefer ppc-nbsd-nat.c though Kevin