This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Cast to uintptr_t when calling ptrace32 on aix


On 01/06/2014 12:22 AM, David Edelsohn wrote:
> Thanks for uncovering this and creating a patch. Any patch like this
> should be regression tested.
> 

OK, I'll test it on gcc111.

> I thought that these issues had been addressed in Joel's patches from
> last August.
> 
> https://sourceware.org/ml/gdb-patches/2013-08/msg00657.html
> 
> Why do we need to go through this delicate dance in slightly different
> ways in multiple files?

IMO, we do it in the same way, convert address to uintptr_t first and
then to "addr_ptr" (long long).  Joel's is the implicit conversion and
mine is an explicit one.

-- 
Yao (éå)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]