This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: RFA: don't cast last argument to ptrace
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>, gdb-patches at sources dot redhat dot com
- Date: Wed, 28 May 2003 13:31:31 -0700
- Subject: Re: RFA: don't cast last argument to ptrace
- References: <vt2he7eg6fs.fsf@zenia.red-bean.com>
On May 28, 3:30pm, Jim Blandy wrote:
> Subject: RFA: don't cast last argument to ptrace
>
> I've committed this to the PPC64 Linux branch, but I think it should
> be considered for the trunk as well.
>
> 2003-05-14 James Blandy <jimb@redhat.com>
>
> * ppc-linux-nat.c (store_altivec_registers): Don't cast fourth
> argument to ptrace to int; the system headers should give it the
> right type, and pointers don't fit in ints on powerpc64-*-*.
Yes, I agree. Go ahead and commit it to the trunk too.
Kevin