From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12965 invoked by alias); 26 Sep 2002 15:55:45 -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 12954 invoked from network); 26 Sep 2002 15:55:44 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sources.redhat.com with SMTP; 26 Sep 2002 15:55:44 -0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.11.6/8.11.6) with ESMTP id g8QFbci03852 for ; Thu, 26 Sep 2002 11:37:38 -0400 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [172.16.52.156]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8QFtgf28095; Thu, 26 Sep 2002 11:55:42 -0400 Received: from valrhona.uglyboxes.com (IDENT:z6EXCHT9OAbsAAG64Dj06yuOOKg0jiv1@vpn50-53.rdu.redhat.com [172.16.50.53]) by pobox.corp.redhat.com (8.11.6/8.11.6) with ESMTP id g8QFtgJ30761; Thu, 26 Sep 2002 11:55:42 -0400 Date: Thu, 26 Sep 2002 08:55:00 -0000 From: Keith Seitz X-X-Sender: keiths@valrhona.uglyboxes.com To: "Y. P. Yen" cc: gdb@sources.redhat.com Subject: Re: Building Error in GDB with Multi-ICE In-Reply-To: <001701c26537$72c7d260$300a10ac@ADVANTECH.CORP> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-09/txt/msg00433.txt.bz2 On Thu, 26 Sep 2002, Y. P. Yen wrote: > rdi150-low.c:146: `BIG_ENDIAN' undeclared here (not in a function) > rdi150-low.c:209: variable-size type declared outside of any function > rdi150-low.c: In function `low_open_target': > rdi150-low.c:408: `BIG_ENDIAN' undeclared (first use in this function) > rdi150-low.c:408: (Each undeclared identifier is reported only once > rdi150-low.c:408: for each function it appears in.) > rdi150-low.c:413: `LITTLE_ENDIAN' undeclared (first use in this function) > rdi150-low.c: In function `low_update_registers': > rdi150-low.c:902: `PS_REGNUM' undeclared (first use in this function) > rdi150-low.c: In function `low_write_registers': > rdi150-low.c:949: `PS_REGNUM' undeclared (first use in this function) > rdi150-low.c: In function `_low_thread_op': > rdi150-low.c:1780: `LR_REGNUM' undeclared (first use in this function) > rdi150-low.c:1783: `PS_REGNUM' undeclared (first use in this function) > make: *** [rdi150-low.o] Error 1 Looks like bitrot. On 2002-01-04, BIG_ENDIAN was replaced with the BFD_BIG_ENDIAN (same for LITTLE_ENDIAN). I suspect the regnums have changed, too. I think that XXX_REGNUM is now called ARM_XXX_REGNUM. (See arm-tdep.h for the exact list.) You'll have to hack at the code a little to bring it up to date. I hope you submit the patches once you get it working. Keith