On Sun, May 31, 2009 at 11:24 AM, Dave Korn wrote: > The cleanest design would be to add an mmap member function to bfd_iovec. Thanks. Would attached patch be acceptable? Tested by building with and without HAVE_MMAP on Linux/x86_64, and by building GDB against this and running its tests. -- Paul Pluzhnikov 2009-06-01 Paul Pluzhnikov * bfd-in2.h: bfd_mmap prototype * bfdio.c (bfd_mmap): New function. * libbfd.h (bfd_iovec): Add bmmap. * cache.c (cache_bmap): New function. (cache_iovec): Initialize bmmap member. * opencls.c (opncls_bmmap): New function. (opncls_iovec): Initialize bmmap member.