This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Provde a pid to filename conversion for NetBSD
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Hudson <skrll at netbsd dot org>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 15 Dec 2006 11:37:30 -0500
- Subject: Re: PATCH: Provde a pid to filename conversion for NetBSD
- References: <200611301323.18743.skrll@netbsd.org> <200612151623.30618.skrll@netbsd.org>
On Fri, Dec 15, 2006 at 04:23:30PM +0000, Nick Hudson wrote:
> > 2006-11-30 Nick Hudson <skrll@netbsd.org>
> >
> > * i386nbsd-nat.c: Include "nbsd-nat.h".
> > (_initialize_i386nbsd_nat): Update target vector to use
> > nbsd_pid_to_exec_file.
> >
> > * config/i386/nbsdelf.mh (NATDEPFILES): Add nbsd-nat.o
> >
> > * nbsd-nat.c: New file.
> > * nbsd-nat.h: New file.
> > * Makefile.in (ALLDEPFILES): Add nbsd-nat.c.
> > (nbsd_nat_h): New variable.
> > (nbsd-nat.o): New dependency.
>
> What needs to happen for this to go in?
Someone needs to review it. I was hoping that someone who actually
used NetBSD would speak up :-) If no one does, I'll do it myself.
It looks generally fine. Is this going to work for every NetBSD
platform? Should it be added to all of them, rather than just i386?
Looks like GDB supports 11.
--
Daniel Jacobowitz
CodeSourcery