Support New Target in GDB

Cai Qian
2006-09-17T13:17:01Z

Hi,

I would like to add a new target to GDB, and then use the following command,

configure --target=arc-elf

However, only got message,

...
check for X... libraries, headers
configure: error: "*** GDB does not support target arc-unknonw-elf"
make[1]: *** [configure-gdb] Error 1
...

I suppose ARC has already been supported by BFD, so I have followed
instructions here
http://sources.redhat.com/gdb/current/onlinedocs/gdbint_9.html#SEC83

In addtion, I have modified gdb/Makefile.in to add rule for
arc-tdep.o. are there other things missing?

Qian