How to get file descriptor from abfd?

Dave Korn dave.korn.cygwin@googlemail.com
Thu Jun 11 03:28:00 GMT 2009


Paul Pluzhnikov wrote:

> Index: bfdio.c
> ===================================================================

> +.  void* (*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
> +.                  int prot, int flags, file_ptr offset);

  That should probably be void-space-star-bracket, to match:

> +  /* Just like mmap: (void*)-1 on failure, mmapped address on success.  */
> +  void *(*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,

... but it's not important enough to fix now and can be left for whoever's
working in that area next.

    cheers,
      DaveK



More information about the Gdb-patches mailing list