RFA: don't cast last argument to ptrace

Kevin Buettner kevinb@redhat.com
Wed May 28 20:31:00 GMT 2003


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



More information about the Gdb-patches mailing list