From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8851 invoked by alias); 31 Jan 2002 23:10: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 8724 invoked from network); 31 Jan 2002 23:10:17 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by sources.redhat.com with SMTP; 31 Jan 2002 23:10:17 -0000 Received: from drow by nevyn.them.org with local (Exim 3.34 #1 (Debian)) id 16WQLY-0001It-00; Thu, 31 Jan 2002 18:10:24 -0500 Date: Thu, 31 Jan 2002 15:10:00 -0000 From: Daniel Jacobowitz To: "William A. Gatliff" Cc: "Keith.Walker" , crossgcc@sources.redhat.com, gdb@sources.redhat.com Subject: Re: Patch for arm-linux gdbserver Message-ID: <20020131181024.A4883@nevyn.them.org> Mail-Followup-To: "William A. Gatliff" , "Keith.Walker" , crossgcc@sources.redhat.com, gdb@sources.redhat.com References: <20020131113611.A2242@saturn.billgatliff.com> <4.1.20020131181535.00b40f00@mhsun1.maidenhead.arm.com> <20020131153627.A3137@saturn.billgatliff.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020131153627.A3137@saturn.billgatliff.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-01/txt/msg00379.txt.bz2 On Thu, Jan 31, 2002 at 03:36:27PM -0600, William A. Gatliff wrote: > Keith: > > > [root@venus gdbserver]# make > arm-linux-gcc -c -g -I/home/bgat/Intrinsyc/include -I. -I.. -I../../gdb/gdbserver -I../../gdb/gdbserver/.. -I../../gdb/gdbserver/../config -I../../gdb/gdbserver/../../include -I../../bfd -I../../gdb/gdbserver/../../bfd -DGDBSERVER ../../gdb/gdbserver/low-linux.c > ../../gdb/gdbserver/low-linux.c:42: sys/reg.h: No such file or directory > make: *** [low-linux.o] Error 1 > > [root@venus gdbserver]# find ~/Intrinsyc/ -name reg.h > /root/Intrinsyc/arm-linux/sys-include/asm-mips/reg.h > /root/Intrinsyc/arm-linux/sys-include/asm-alpha/reg.h > /root/Intrinsyc/arm-linux/sys-include/asm-sparc/reg.h > /root/Intrinsyc/arm-linux/sys-include/asm-sparc64/reg.h > /root/Intrinsyc/arm-linux/sys-include/asm-mips64/reg.h > > > I'm using a prebuilt toolchain from Intrinsyc. I'm thinking there's > something wrong about it, but I can't quite put my finger on it... > > Where is your reg.h? > > What versions of arm-linux tools are you using? I may just have to > start from scratch here... ARM should not have sys/reg.h. That means you mis-ran configure. You can't build gdbserver inside a cross-gdb tree. It has to be a _target_ _native_ gdb tree (i.e. --host). I don't think ARM gdbserver builds at the moment, though. If it does I'll be pleasantly surprised. What Keith said about configury won't work. However, you don't need to run make in the gdb dir, just configure. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer