RE: Adding a target at build?

James Sampson
2002-11-20T15:38:44Z

>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.

Oh God! - I had no idea there was so much work in this :-(.

Well - The GDB doesn't have to run on this target, it just needs to remote
debug it - Doesn't this simplify it a bit?

>> 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.

But still - A search on "cris" in the GDB source codes reveils 300 Kb of
source code, and I'm just trying to load some code into the GDB, which it must
send to my target...

Still feel like I'm missing something :-)

Best Regards
J.S.