This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: How to get file descriptor from abfd?
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