From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31061 invoked by alias); 1 Feb 2002 15:30:32 -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 31016 invoked from network); 1 Feb 2002 15:30:28 -0000 Received: from unknown (HELO hal-1.inet.it) (213.92.5.20) by sources.redhat.com with SMTP; 1 Feb 2002 15:30:28 -0000 Received: (from root@localhost) by hal-1.inet.it (8.11.1/8.11.1) id g11FUQN303892 for ; Fri, 1 Feb 2002 16:30:26 +0100 Received: from seltaisdn.inet.it(194.185.213.248) by hal-1.inet.it via I-SMTP-4.0.5-100 id s-194.185.213.248-WfKKpE; Fri Feb 1 16:30:23 2002 Received: from selta.it (10.0.2.43 [10.0.2.43]) by seltapc.selta.it with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2448.0) id 1BCN9S6N; Fri, 1 Feb 2002 16:30:36 +0100 Message-ID: <3C5AD0B5.1B6479A5@selta.it> Date: Fri, 01 Feb 2002 07:30:00 -0000 From: stefania magistrali X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2-selta i686) X-Accept-Language: en MIME-Version: 1.0 To: gdb@sources.redhat.com Subject: Gdbserver with powerpc Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-SW-Source: 2002-02/txt/msg00009.txt.bz2 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