This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH] fix inferior_pid argument for arm-netbsd
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Kevin Buettner <kevinb at redhat dot com>
- Cc: Richard dot Earnshaw at arm dot com, gdb-patches at sources dot redhat dot com
- Date: Thu, 10 Jan 2002 17:58:35 +0000
- Subject: Re: [PATCH] fix inferior_pid argument for arm-netbsd
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> > On Jan 9, 1:38pm, Richard Earnshaw wrote:
> >
> > > * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
> > > inferior_ptid.pid.
> >
> > Please don't do it this way. Use the accessor functions instead. I've
> > looked over your patch, and in each case, you can simply use
> >
> > ptid_get_pid (inferior_ptid)
> >
>
> Ah! I wasn't aware of the accessor functions. In fact, most targets are
> using the macro GETPID (from defs.h). I've fixed the code to use that.
>
I haven't heard anything further. Can I assume this is acceptable now, or
do I have to go into limbo for another month?