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
I've committed this. Thanks.
Kevin Buettner <kevinb@redhat.com> writes:
> 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