Adding a target at build?
Daniel Jacobowitz
drow@mvista.com
Wed Nov 20 06:17:00 GMT 2002
On Wed, Nov 20, 2002 at 08:19:25AM +0100, James Sampson wrote:
> >As far as I know, no one has implemented a TIC54x target for GDB.
> >(if it was implemented, it would be configured using something like:
> >--target=--target=tic54x).
>
> I just found a coff-tic54x.c file in the BFD library - I just made an honest
> guess, that it might be used to read C54x COFF files. Does anybody know how to
> use this? - I need to setup my target and really don't know how... Is there a
> list of targets somewhere?.
Look in gdb/MAINTAINERS or configure.tgt.
BFD, a support library, is ported to tic54x. GDB is not. You probably
want to talk to the author of the binutils port; check
binutils/MAINTAINERS. I bet he's got some plans for a GDB port.
> >> When this is setup, and the GDB's host is different from it's target, does
> it
> >> expect to debug remotely? - Obviously it can't run it on host, because the
> >> code is target specific?
> >
> >Either remotely, or with a built-in simulator.
>
> OK - Starting to make sense :-D. But how do I load the target specific file
> into the GDB? - Again I need to setup my target, but how?.
This is why Andrew recommended cris and xstormy16. They're relatively
new, clean ports. It's still a lot of work but basing it on one of
those two will be simplest.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer
More information about the Gdb
mailing list