Re: GDB --> Ethernet --> RV-ICE

Andrew Batchelor
2003-10-27T21:40:12Z

Hi Ramana,

Thanks a lot for your reply.

On Mon, 2003-10-27 at 19:57, Ramana Radhakrishnan wrote:
> You would need to add a new target that would talk to your RVICE in the
> format that it understands. Just as you have target remote , you also have
> target rdi / target angel etc. in gdb by which you can connect to other
> remote boards. So you would need to implement your own target structure.
[.....]
> The stub files would be used only if the board does not have any on chip
> debug support.In your case I dont see any reason for having any stub files
> because the work of the stub in your case would be done by the JTAG
> onboard.
[.....]
> As I see it your implementation is going to be simpler than any of the
> jtag implementations.You would essentially have to change the protocol
> packets in remote.c to send your protocol packets and I would guess you
> would be done.

Yeah, I figured as much. Seems to be pretty straight-forward then.
(famous last words.....) :o)

> You would have to implement each of the functions in the target
> structure.There is a provision for this. A reference implementation for
> this functionality would be the BDM patch to gdb for the coldfire . That
> would have provisions for all the above mentioned stuff.

Thanks - I'll go away and have a look at that.

Andy