This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
RE: Adding a target at build?
- From: James Sampson <i_am_triumph at ofir dot dk>
- To: GDB Archive <gdb at sources dot redhat dot com>
- Cc: drow at mvista dot com
- Date: Wed, 20 Nov 2002 15:44:14 +0100
- Subject: RE: Adding a target at build?
>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.