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: Kevin Buettner <kevinb at redhat dot com>
- To: Richard dot Earnshaw at arm dot com, gdb-patches at sources dot redhat dot com
- Date: Wed, 9 Jan 2002 08:39:50 -0700
- Subject: Re: [PATCH] fix inferior_pid argument for arm-netbsd
- References: <200201091338.NAA22580@cam-mail2.cambridge.arm.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)
instead.
Kevin