From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2401 invoked by alias); 1 Feb 2002 15:37:33 -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 2350 invoked from network); 1 Feb 2002 15:37:31 -0000 Received: from unknown (HELO saturn.billgatliff.com) (209.251.101.200) by sources.redhat.com with SMTP; 1 Feb 2002 15:37:31 -0000 Received: by saturn.billgatliff.com (Postfix, from userid 500) id 9930714184B; Fri, 1 Feb 2002 09:37:20 -0600 (CST) Date: Fri, 01 Feb 2002 07:37:00 -0000 From: "William A. Gatliff" To: stefania magistrali Cc: gdb@sources.redhat.com Subject: Re: Gdbserver with powerpc Message-ID: <20020201093720.B5673@saturn.billgatliff.com> Reply-To: bgat@billgatliff.com References: <3C5AD0B5.1B6479A5@selta.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C5AD0B5.1B6479A5@selta.it>; from s.magistrali@selta.it on Fri, Feb 01, 2002 at 04:30:29PM -0100 X-SW-Source: 2002-02/txt/msg00012.txt.bz2 Sefania: Peter Barada and I are currently grinding through this--- he for 68k and powerpc targets, me for arm-linux. I have set up a rudimentary page in the Crossgcc Wiki where you can follow our progress--- which isn't much yet, we only started yesterday! The crossgcc Wiki is at http://www.billgatliff.com/twiki/bin/view/Crossgcc/WebHome The page I've set up for gdbserver is the BuildGdbServer page, which you can get to directly like this: http://www.billgatliff.com/twiki/bin/view/Crossgcc/BuildGdbServer HTH, b.g. On Fri, Feb 01, 2002 at 04:30:29PM -0100, stefania magistrali wrote: > Hi all! > I am developing a powerpc (860) board. I need to compile gdb for my host > > (Intel with Linux) and gdbserver for target. I configured the system > like > this: > > for gdb: ./configure --target=powerpc-linux > and for gdbserver: ./configure powerpc-linux (then I set CC=cross > compiler > for powerpc) > > I have problems with gdbserver, I can't compile it. There are 2 > problems: > 1) when I compile it, the utils.c file loads the server.h file and this > loads the ../defs.h file (gdb/defs.h) where it is included the config.h > file > (gdb/config.h). But that file is created when I configured gdb (with the > > host=Intel and target=powerpc) and so, p.e. it is defined > HAVE_SYS_REG_H, > when I haven't the file sys/reg.h for powerpc. Have I to configure it in > a > different way? > 2) In low-linux.c there is a source code for Intel and m68k, I have to > add > code for powerpc? If so, do you know if someone has already done it? > Thanks, > Stefania > -- Bill Gatliff bgat@billgatliff.com