From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14713 invoked by alias); 14 Aug 2002 16:11:35 -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 14697 invoked from network); 14 Aug 2002 16:11:34 -0000 Received: from unknown (HELO crack.them.org) (65.125.64.184) by sources.redhat.com with SMTP; 14 Aug 2002 16:11:34 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 17f0kD-0001su-00; Wed, 14 Aug 2002 11:11:37 -0500 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 17f0kZ-0001Fx-00; Wed, 14 Aug 2002 12:11:59 -0400 Date: Wed, 14 Aug 2002 09:11:00 -0000 From: Daniel Jacobowitz To: Rick Richardson Cc: GDB Mailing List Subject: Re: gdb retargetting Message-ID: <20020814161159.GA4596@nevyn.them.org> Mail-Followup-To: Rick Richardson , GDB Mailing List References: <20020814110514.A28654@mn.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020814110514.A28654@mn.rr.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2002-08/txt/msg00146.txt.bz2 On Wed, Aug 14, 2002 at 11:05:14AM -0500, Rick Richardson wrote: > > Maybe someone can help me, maybe not. Here's the deal: > > 1) I retargetted binutils to support a new processor. I started with > binutils-2.12.1 from the GNU ftp site. That work is complete. > > 2) I grabbed gdb-5.2.1 and merged the gdb directories with my now-modified > binutils tree. This meant I just copied the gdb, malloc, readline, sim, > and utils directories from the gdb tree to the combined tree. > > 3) As a check that everything is buildable in the combined tree, I > configured for i386 (default) on linux, and did a "make". I wanted > to make sure that I started from a buildable tree before I hack on > the gdb and sim directories to support the new processor. > > 4) Everything built fine until it got to gdb/gdbserver. It exploded > compiling utils.c: > > In file included from utils.c:22: > server.h:37:25: gdb/signals.h: No such file or directory > > 5) No question, there is no gdb/signals.h included in the gdb-5.2.1.tar.gz > file that I got from ftp.gnu.org. Nor is there one in gdb-5.2.tar.gz. > > What gives? I'm beginning to suspect that nobody compiles the > snapshots on the GNU ftp site. Should I have started from some other > snapshots? I'm completely learing of basing off of "the tip" of the > CVS tree, as I have no idea when that is stable. So I thought basing > off of the GNU snapshots would be the way to go. The file is there. It's in gdb-5.2/include/gdb/signals.h in this snapshot. The include directory is shared between the two projects; different directories are included in different releases, and if you're going to try to combine two releases other than the two current trunk snapshots, you're on your own to do the merging. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer