From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g482VHwJ018841 for ; Tue, 7 May 2002 19:31:17 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g482VHav018840 for linux-mips-outgoing; Tue, 7 May 2002 19:31:17 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-mips@oss.sgi.com using -f Received: from nevyn.them.org (mail@NEVYN.RES.CMU.EDU [128.2.145.6]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g482VDwJ018837 for ; Tue, 7 May 2002 19:31:13 -0700 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 175HFs-0008Ht-00; Tue, 07 May 2002 22:32:36 -0400 Date: Tue, 7 May 2002 22:32:36 -0400 From: Daniel Jacobowitz To: Geoffrey Espin Cc: "Siders, Keith" , "Linux-Mips (E-mail)" Subject: Re: Debugging of embedded target applications Message-ID: <20020508023236.GA31840@nevyn.them.org> References: <7DF7BFDC95ECD411B4010090278A44CA379AA1@ATVX> <20020507221512.GA22326@nevyn.them.org> <20020507154427.D12509@idiom.com> <20020508014314.GA30243@nevyn.them.org> <20020507192523.A73748@idiom.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020507192523.A73748@idiom.com> User-Agent: Mutt/1.5.1i Sender: owner-linux-mips@oss.sgi.com Precedence: bulk On Tue, May 07, 2002 at 07:25:23PM -0700, Geoffrey Espin wrote: > On Tue, May 07, 2002 at 09:43:14PM -0400, Daniel Jacobowitz wrote: > > > Does work it for kernel type debugging over *Ethernet*? > > > I see some docs saying "TCP/IP" connection... but does that > > > mean a special kind of network driver? Or a gdbstub/agent > > > outside the kernel in a special monitor? > > What do you mean by kernel type debugging? It's not a kernel stub. It > > can debug user programs over TCP/IP or a serial line. > > In traditional embedded RTOS land, "system-level debugging". > In the olden days one had to have BDM/JTAG hardware assist > to step thru truly arbitary bits of code, like interrupt handlers, > scheduler. > > The original question was about using using a hardware debugger. > Clearly using gdb/gdbserver is for apps only, AFAIK. Does one > bother with a h/w debugger for apps? Using kgdb with some kind Actually, yes, you can. I believe at least the Abatron BDI can do this. Could be wrong, though. > of remote debug-agent would be a "system level debugger", a s/w > solution to a traditional hardware only debug aid. At this time > kind of pointless, as its painful to setup and JTAG debuggers > are so cheap (for mainline CPUs). Depends on your platform. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer