From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9560 invoked by alias); 20 Nov 2002 14:17:09 -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 9552 invoked from network); 20 Nov 2002 14:17:06 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 20 Nov 2002 14:17:06 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18EXX5-00057Q-00; Wed, 20 Nov 2002 10:16:55 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18EVec-0001ER-00; Wed, 20 Nov 2002 09:16:34 -0500 Date: Wed, 20 Nov 2002 06:17:00 -0000 From: Daniel Jacobowitz To: James Sampson Cc: Andrew Cagney , GDB Archive Subject: Re: Adding a target at build? Message-ID: <20021120141634.GC4546@nevyn.them.org> Mail-Followup-To: James Sampson , Andrew Cagney , GDB Archive References: <20021120074446.7D6252903B@postfix2.ofir.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021120074446.7D6252903B@postfix2.ofir.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00249.txt.bz2 On Wed, Nov 20, 2002 at 08:19:25AM +0100, James Sampson wrote: > >As far as I know, no one has implemented a TIC54x target for GDB. > >(if it was implemented, it would be configured using something like: > >--target=--target=tic54x). > > I just found a coff-tic54x.c file in the BFD library - I just made an honest > guess, that it might be used to read C54x COFF files. Does anybody know how to > use this? - I need to setup my target and really don't know how... Is there a > list of targets somewhere?. Look in gdb/MAINTAINERS or configure.tgt. BFD, a support library, is ported to tic54x. GDB is not. You probably want to talk to the author of the binutils port; check binutils/MAINTAINERS. I bet he's got some plans for a GDB port. > >> When this is setup, and the GDB's host is different from it's target, does > it > >> expect to debug remotely? - Obviously it can't run it on host, because the > >> code is target specific? > > > >Either remotely, or with a built-in simulator. > > OK - Starting to make sense :-D. But how do I load the target specific file > into the GDB? - Again I need to setup my target, but how?. This is why Andrew recommended cris and xstormy16. They're relatively new, clean ports. It's still a lot of work but basing it on one of those two will be simplest. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer