While I was building GDB on mips-irix, I noticed a couple of warnings, so I decided to fix them. On mips-irix, the pr_vaddr field is a caddr, and apparently, CORE_ADDR is not the same size as this type. So we need to cast it to an integer type with the same size first, and then to CORE_ADDR. 2009-04-16 Joel Brobecker * procfs.c (solib_mappings_callback, find_memory_regions_callback): Fix a compilation warning on mips-irix due to casting from a pointer of different size. I actually meant to post this patch and wait for a few days before checking in, but I accidently did the checkin. I'm pretty sure it's OK, but let me know if not, and I'll revert. -- Joel