* Building Error in GDB with Multi-ICE
@ 2002-09-26 1:34 Y. P. Yen
2002-09-26 8:55 ` Keith Seitz
0 siblings, 1 reply; 3+ messages in thread
From: Y. P. Yen @ 2002-09-26 1:34 UTC (permalink / raw)
To: gdb
Hello, eveyone,
I following the http://sources.redhat.com/ecos/multi-ice.html instruction to
build the gdb with multi-ice,
but when I want to build multi-ice-gdb-server in the final step, I encounted
the following error :
make -w MULTI_ICE_INCLUDES="-I/cygdrive/c/Rdi/Headers" \
MULTI_ICE_LIBS="-L/cygdrive/c/Multi-ICE -L/tmp/migdb/gdb-5.1.1/gdb/multi-ice
-ltoolconf"
...
....
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
I had checked that there are no include file (.h) which define BIG_ENDIAN,
LITTLE_ENDIAN... etc identifiers.
I had checked the include file parh (the RDI/Headers) is correctly. Does
anyone can help to resolve this?
thank you in advance!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building Error in GDB with Multi-ICE
2002-09-26 1:34 Building Error in GDB with Multi-ICE Y. P. Yen
@ 2002-09-26 8:55 ` Keith Seitz
2002-09-27 3:08 ` Y. P. Yen
0 siblings, 1 reply; 3+ messages in thread
From: Keith Seitz @ 2002-09-26 8:55 UTC (permalink / raw)
To: Y. P. Yen; +Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Building Error in GDB with Multi-ICE
2002-09-26 8:55 ` Keith Seitz
@ 2002-09-27 3:08 ` Y. P. Yen
0 siblings, 0 replies; 3+ messages in thread
From: Y. P. Yen @ 2002-09-27 3:08 UTC (permalink / raw)
Cc: gdb
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-27 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-26 1:34 Building Error in GDB with Multi-ICE Y. P. Yen
2002-09-26 8:55 ` Keith Seitz
2002-09-27 3:08 ` Y. P. Yen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox