This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
gdb for arm and multi-ice
- From: Bill O'Donnell <billodo at visi dot com>
- To: gdb at sources dot redhat dot com
- Date: Thu, 3 Oct 2002 12:58:46 -0500
- Subject: gdb for arm and multi-ice
Hi all,
I'm trying to build a version of gdb for arm that will work with the ARM multi
ice jtag emulator...
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. For example
The tail of make.out when I try building gdb 5.2.1 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'
---------------------------------------------
Perhaps someone has been through this?
any help is appreciated.
Bill