From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17773 invoked by alias); 27 Sep 2002 10:08:17 -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 17762 invoked from network); 27 Sep 2002 10:08:15 -0000 Received: from unknown (HELO webserver.advantech.com.tw) (210.65.239.201) by sources.redhat.com with SMTP; 27 Sep 2002 10:08:15 -0000 Received: from danielyen ([172.16.10.48]) by webserver.advantech.com.tw with Microsoft SMTPSVC(5.0.2195.5329); Fri, 27 Sep 2002 18:28:16 +0800 Message-ID: <000901c2660d$c99246d0$300a10ac@ADVANTECH.CORP> From: "Y. P. Yen" Cc: References: Subject: Re: Building Error in GDB with Multi-ICE Date: Fri, 27 Sep 2002 03:08:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-OriginalArrivalTime: 27 Sep 2002 10:28:16.0444 (UTC) FILETIME=[97581FC0:01C26610] X-SW-Source: 2002-09/txt/msg00476.txt.bz2 Hello, After modify these identifies, there are so many codes needed to modify to run on gdb 5.2.1 So, I give up gdb 5.2.1, using the gdb 5.1.1 now. ----- Original Message ----- From: "Keith Seitz" To: "Y. P. Yen" Cc: Sent: Thursday, September 26, 2002 11:58 PM Subject: Re: Building Error in GDB with Multi-ICE 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