From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21999 invoked by alias); 25 Nov 2002 18:22:10 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 21989 invoked from network); 25 Nov 2002 18:22:08 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 25 Nov 2002 18:22:08 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id E70363E4B; Mon, 25 Nov 2002 13:22:04 -0500 (EST) Message-ID: <3DE26A4C.70409@redhat.com> Date: Mon, 25 Nov 2002 10:22:00 -0000 From: Andrew Cagney User-Agent: Mozilla/5.0 (X11; U; NetBSD macppc; en-US; rv:1.0.0) Gecko/20020824 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Daniel Jacobowitz , James Sampson Cc: GDB Archive Subject: Re: Porting GDB - Where to start? References: <20021125102259.2EA492CBF9@postfix2.ofir.com> <20021125142916.GA22853@nevyn.them.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00355.txt.bz2 > On Mon, Nov 25, 2002 at 10:56:22AM +0100, James Sampson wrote: > >> Hello >> >> In my GDB journey, I have now found out, that I need to port the GDB to C55x >> target. A recipe on how to do this, exists only in very light form. The best >> thing is to edit another port, and since I don't know which port to choose, I >> ask that exact question here. >> >> Which port would be best to start from, when I'm porting to a C55x target >> which produces COFF files?. > > > It's an ELF port, but xstormy16 is still probably your best bet. Yes. (GDB ports are object file netural. Handling elf, xcoff, coff, ... is a bfd problem and as long as BFD can handle it, so can GDB. The only potential got-ya is the debug info, use GCC and you should be safe there.)