From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11152 invoked by alias); 24 Jun 2006 02:57:38 -0000 Received: (qmail 11144 invoked by uid 22791); 24 Jun 2006 02:57:37 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Sat, 24 Jun 2006 02:57:35 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1FtyKy-0004CB-S7; Fri, 23 Jun 2006 22:57:32 -0400 Date: Sat, 24 Jun 2006 03:22:00 -0000 From: Daniel Jacobowitz To: Michael Eager Cc: gdb@sources.redhat.com Subject: Re: PowerPC 405 support Message-ID: <20060624025732.GA16111@nevyn.them.org> Mail-Followup-To: Michael Eager , gdb@sources.redhat.com References: <449CA2CE.3020100@eagercon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <449CA2CE.3020100@eagercon.com> User-Agent: Mutt/1.5.11+cvs20060403 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-06/txt/msg00199.txt.bz2 On Fri, Jun 23, 2006 at 07:26:22PM -0700, Michael Eager wrote: > I was looking at adding support to GDB for a variant of > the PPC 405. This variant has several added instructions > but is otherwise the same, i.e., has the same registers, etc. > > I thought I'd add a processor type named Xppc405 or ppc405X > for this variant. Then I noticed that the 405 is really > not supported as a variant, but the 403 is, and that the 403 > has extensions (and at least one hack) for the 405. There > are opcodes defined for PPC405, but this symbol is aliased > to PPC403. > > It looks pretty straight-forward to create a ppc405 variant > and unalias it from the ppc403. Then create a ppc405X > variant which builds on the ppc405. Any reason not to do > this? I'm going to guess here, but probably this would be a better suited question for binutils@. GDB doesn't really have much knowledge about PPC variants, just the bits it inherits from libopcodes. -- Daniel Jacobowitz CodeSourcery