From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4125 invoked by alias); 27 Oct 2003 21:40:12 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 4095 invoked from network); 27 Oct 2003 21:40:10 -0000 Received: from unknown (HELO ben.lut.ac.uk) (158.125.1.103) by sources.redhat.com with SMTP; 27 Oct 2003 21:40:10 -0000 Received: from [213.107.116.221] (helo=And.Linux) by ben.lut.ac.uk with esmtp (Exim 4.14) id 1AEF5r-0008RO-4K; Mon, 27 Oct 2003 21:40:07 +0000 Subject: Re: GDB --> Ethernet --> RV-ICE From: Andrew Batchelor To: ramana.radhakrishnan@codito.com Cc: GDB Newsgroup In-Reply-To: <1065.219.65.83.113.1067284661.squirrel@webmail.codito.com> References: <1067279633.1358.65.camel@And.Linux> <1065.219.65.83.113.1067284661.squirrel@webmail.codito.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Mon, 27 Oct 2003 21:40:00 -0000 Message-Id: <1067290805.1086.15.camel@And.Linux> Mime-Version: 1.0 X-Spam-Score: -4.5 (----) X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *1AEF5r-0008RO-4K*B/oLrmdkQHo* X-Lboro-Filtered: ben.lut.ac.uk, Mon, 27 Oct 2003 21:40:07 +0000 X-SW-Source: 2003-10/txt/msg00300.txt.bz2 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