This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: what needs to be done to support gdbserver on netbsd?
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Jeff Rizzo <riz at boogers dot sf dot ca dot us>
- Cc: gdb at sources dot redhat dot com
- Date: Tue, 20 May 2003 17:32:14 -0400
- Subject: Re: what needs to be done to support gdbserver on netbsd?
- References: <20030520142306.A6445@hubba.boogers.sf.ca.us>
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-<arch>-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