This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Building Error in GDB with Multi-ICE
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" <keiths@redhat.com>
To: "Y. P. Yen" <yp@mis.mgt.ncu.edu.tw>
Cc: <gdb@sources.redhat.com>
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