This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]