From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12801 invoked by alias); 19 Nov 2002 17:10:06 -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 12746 invoked from network); 19 Nov 2002 17:10:03 -0000 Received: from unknown (HELO localhost.redhat.com) (216.138.202.10) by sources.redhat.com with SMTP; 19 Nov 2002 17:10:03 -0000 Received: from redhat.com (localhost [127.0.0.1]) by localhost.redhat.com (Postfix) with ESMTP id BBA023E39; Tue, 19 Nov 2002 12:09:58 -0500 (EST) Message-ID: <3DDA7066.9080504@redhat.com> Date: Tue, 19 Nov 2002 09:10: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: James Sampson Cc: GDB Archive Subject: Re: Adding a target at build? References: <20021119151228.729C15C2D7@postfix3.ofir.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-11/txt/msg00229.txt.bz2 > Hello Gurus :-) > > Is this understood correctly? : > > When I build the GDB I need to specify a target and a host. The host being the > PC I use to run the GDB and the target being the target I wish to debug > remotely?. > > If it is : > > Suppose I wish to use a TIC54x target which is supported by the GDB (Me think) > - What do I need to do to make this my target at build time?. 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). If you're interested in adding tic54x support to GDB, then have a look at the xstormy16 and cris targets. (You'll also want to arrange an FSF copyright assignment so that your work can be included in the official GDB). > 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. > Am I way off here?. nope :-) Andrew