[ECOS] gdb and multi-ice-gdb-server build problem

Bill O'Donnell billodo@visi.com
Wed Oct 2 14:40:00 GMT 2002


I'm trying to build a version of gdb for arm that will work with the ARM multi
ice jtag debugger...
I've followed the instructions in http://sources.redhat.com/ecos/multi-ice.html
to build gdb with the multi-ice-gdb-server, and I keep having build problems.
I've tried it with gdb 5.2.1, 5.2, as well as 5.1.1 to no avail.  The tail of
make.out yields the following:
-------------------------------------------------------
gcc -DHAVE_CONFIG_H -I. -I/tmp/migdb/gdb-5.2.1/gdb/multi-ice -I. -I./.. -I/tmp/migdb/gdb-5.2.1/gdb/multi-ice/../../include          -I/tmp/migdb/gdb-5.2.1/gdb/multi-ice/.. -I/tmp/migdb/gdb-5.2.1/gdb/multi-ice/../config -I../../bfd          -I/home/jingham/arm/multi-ice    -g -O2 -c /tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c
In file included from /tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c:27:
../tm.h:44: warning: `IN_SOLIB_CALL_TRAMPOLINE' redefined
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/../gdbarch.h:2236: warning: this is the location of the previous definition
../tm.h:45: warning: `SKIP_TRAMPOLINE_CODE' redefined
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/../gdbarch.h:2215: warning: this is the location of the previous definition
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c: In function `handle_read_registers':
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c:597: `REGISTER_BYTES' undeclared (first use in this function)
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c:597: (Each undeclared identifier is reported only once
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c:597: for each function it appears in.)
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c: In function `handle_write_registers':
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c:621: `REGISTER_BYTES' undeclared (first use in this function)
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c: In function `handle_resume':
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c:825: `PC_REGNUM' undeclared (first use in this function)
/tmp/migdb/gdb-5.2.1/gdb/multi-ice/server-main.c:855: `SP_REGNUM' undeclared (first use in this function)
make[3]: *** [server-main.o] Error 1
make[3]: Leaving directory `/tmp/migdb/build/gdb/multi-ice'
make[2]: *** [subdir_do] Error 1
make[2]: Leaving directory `/tmp/migdb/build/gdb'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/migdb/build/gdb'
make: *** [all-gdb] Error 2
make: Leaving directory `/tmp/migdb/build'
---------------------------------------------

any help is appreciated.
Bill




-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list