> > > * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t > > > first. > > > (pdc_write_regs): Likewise. > > > (fetch_regs_kernel_thread): Likewise. > > > (store_regs_kernel_thread): Likewise. > > > > Thank you, Yao. I tested your patch with AdaCore's gdb testsuite, > > and found no regression. > > > > Some of the lines are now exceeding the hard limit (80 characters), > > and need to be folded. Apart from David's suggestion, which we can > > look at independently, the patch looks OK to me. > > Actually, re-reading David's comments, I agree with him. Can we try > using a consistent approach? That would be an easy adaptation of your > patch, or mine, whichever you'd prefer. I don't really see the real > need for the second cast, so I'd lean towards adapting yours. Attached is the patch I just pushed, after testing. FTR, you are preserved as git author of the commit... -- Joel