From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7250 invoked by alias); 19 Nov 2002 05:32:20 -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 7242 invoked from network); 19 Nov 2002 05:32:19 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 19 Nov 2002 05:32:19 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 18E2s7-0002Ie-00; Tue, 19 Nov 2002 01:32:36 -0600 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 18E117-0007i4-00; Tue, 19 Nov 2002 00:33:45 -0500 Date: Mon, 18 Nov 2002 21:32:00 -0000 From: Daniel Jacobowitz To: Jim Blandy Cc: Alexander Larsson , gdb@sources.redhat.com Subject: Re: Final separate debug info patch Message-ID: <20021119053344.GA29601@nevyn.them.org> Mail-Followup-To: Jim Blandy , Alexander Larsson , gdb@sources.redhat.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.1i X-SW-Source: 2002-11/txt/msg00203.txt.bz2 On Tue, Nov 19, 2002 at 12:04:02AM -0500, Jim Blandy wrote: > There are some problems at the moment: DejaGNU has the name "unix" > hard-coded into it, and thinks that anything with another name is a > remote board. Some tests won't run if the target is remote. I think > I know how to persuade it that unix-separate-debug is still not a > remote target, but I'm just going to post this as is for the time > being. FYI, I do this. Here's how. This is a simple board description file which just uses a different C compiler, since GDB wasn't honoring CC: # The canonical unix board description. load_generic_config "unix"; set_board_info compiler "gcc-3.2"; set_board_info c++compiler "g++-3.2"; global board proc ${board}_init { whole_name } { global board_info set board_info(unix3.2,isremote) 0; } Replace unix3.2 with whatever goes before the .exp. The ${board} bit is necessary and becomes something involving the local hostname, IIRC. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer