From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15446 invoked by alias); 20 May 2003 21:33:44 -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 15384 invoked from network); 20 May 2003 21:33:43 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 20 May 2003 21:33:43 -0000 Received: from nevyn.them.org ([66.93.61.169] ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19IEje-0006tJ-00; Tue, 20 May 2003 16:33:27 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19IEiW-0004pC-00; Tue, 20 May 2003 17:32:16 -0400 Date: Tue, 20 May 2003 21:33:00 -0000 From: Daniel Jacobowitz To: Jeff Rizzo Cc: gdb@sources.redhat.com Subject: Re: what needs to be done to support gdbserver on netbsd? Message-ID: <20030520213214.GA18507@nevyn.them.org> Mail-Followup-To: Jeff Rizzo , gdb@sources.redhat.com References: <20030520142306.A6445@hubba.boogers.sf.ca.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030520142306.A6445@hubba.boogers.sf.ca.us> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-05/txt/msg00276.txt.bz2 On Tue, May 20, 2003 at 02:23:06PM -0700, Jeff Rizzo wrote: > Hi- > > I'm doing some development under NetBSD on an embedded system, and > am wondering what needs to be added to gdbserver to support a > netbsd target; all the current platforms seem to be Linux. > > I see some mention of NetBSD and gdbserver in some posts to the > list by J.T. Conklin in 2000 and 2001, but nothing since then > that I can see. > > I am, of course, not particularly knowledgeable regarding GDB, > except as a user... but I would love to be able to debug > a remote target... Someone needs to implement it. Lots of the code in linux-low.c probably needs to be abstracted out for the NetBSD code to share. Other bits need to be rewritten into a netbsd-low.c and a netbsd--low.c. Starting with the Linux code as an example, it shouldn't be overly difficult, but it'll probably take a while. A lot of the Linux code is threads-related, so can be dispensed with for a first pass. I'm afraid I don't know anything about NetBSD... -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer