From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 549 invoked by alias); 13 Sep 2002 15:13:31 -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 540 invoked from network); 13 Sep 2002 15:13:30 -0000 Received: from unknown (HELO saturn.billgatliff.com) (209.251.101.200) by sources.redhat.com with SMTP; 13 Sep 2002 15:13:30 -0000 Received: by saturn.billgatliff.com (Postfix, from userid 500) id 584244E00D8; Fri, 13 Sep 2002 10:13:30 -0500 (CDT) Date: Fri, 13 Sep 2002 08:13:00 -0000 From: "William A. Gatliff" To: calce Cc: gdb@sources.redhat.com Subject: Re: API for ARM7TDMI ? Message-ID: <20020913101330.A24077@saturn.billgatliff.com> Reply-To: bgat@billgatliff.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from bruno.calce@fhso.ch on Fri, Sep 13, 2002 at 04:34:09PM +0200 X-SW-Source: 2002-09/txt/msg00151.txt.bz2 Bruno: On Fri, Sep 13, 2002 at 04:34:09PM +0200, calce wrote: > hello, > i'm trying to implement a debugger for an ARM7TDMI core with > embedded ICE and JTAG. Has anybody done this before and can you > tell me how much time it took? is there an API in gdb which > I could use for this purpose. Any hints and tricks are welcome. > Im evaluating if I should develop the debugger by myself or > with existing code. Not sure exactly what you're asking for here. If you're trying to implement a debugging agent in the target, then you won't do much with embedded ICE and JTAG--- you'll communicate over a serial or ethernet port, and run some code in the target to handle breakpoints, etc. See http://sourceforge.net/projects/gdbstubs for a basic debugging agent architecture for gdb, it doesn't (yet!) support ARM7TDMI. If you're talking about using an external piece of hardware to drive the JTAG port, then both ARM's tools and Abatron's BDI2000 are well supported by gdb already--- no need to implement anything. HTH, b.g. -- Embedded Linux and embedded GNU development and training services. See http://billgatliff.com for details.