[PATCH] fix inferior_pid argument for arm-netbsd
Richard Earnshaw
rearnsha@arm.com
Thu Jan 10 09:59:00 GMT 2002
> > 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?
More information about the Gdb-patches
mailing list