From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3477 invoked by alias); 30 Dec 2002 23:32:58 -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 3432 invoked from network); 30 Dec 2002 23:32:57 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by 209.249.29.67 with SMTP; 30 Dec 2002 23:32:57 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18TBHB-0003t4-00; Mon, 30 Dec 2002 19:33:01 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18T9OW-0004Up-00; Mon, 30 Dec 2002 18:32:28 -0500 Date: Mon, 30 Dec 2002 15:32:00 -0000 From: Daniel Jacobowitz To: Torsten Mohr Cc: gdb Subject: Re: patching gdb, adding files for certain combinations of host/target Message-ID: <20021230233228.GA17265@nevyn.them.org> Mail-Followup-To: Torsten Mohr , gdb References: <200212310000.50719.tmohr@s.netic.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200212310000.50719.tmohr@s.netic.de> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-12/txt/msg00340.txt.bz2 On Tue, Dec 31, 2002 at 12:00:50AM +0100, Torsten Mohr wrote: > Hi everybody, > > at the moment i look at how to patch gdb and add > certain files for special combinations of > host/target. > > For example, i'd like to add some files if the host > is a linux system and the target machine is an ARM > machine. > > In gdb/config/arm there are several *.mt and *.mh > files, it seems i can only add files for a target > OR a host, right? > > How can i add files ONLY for a certain combination? Right now there's no obvious way, but I'm sure it could be managed if it was needed. Let me ask a different question: why do you want to do this? A design goal for GDB is that it shouldn't matter what your host is. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer