aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfdio.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-07-10 18:38:27 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-07-10 18:38:27 +0000
commitf07749bbae83adb37c54f7c6079c1999af292724 (patch)
tree3ae3d9165759a1b29a1a4704c07ac32d0fade27b /bfd/bfdio.c
parent8455dd2cf7dfd96cadcaf0a220d5acac42a0e46a (diff)
downloadgdb-f07749bbae83adb37c54f7c6079c1999af292724.zip
gdb-f07749bbae83adb37c54f7c6079c1999af292724.tar.gz
gdb-f07749bbae83adb37c54f7c6079c1999af292724.tar.bz2
2009-07-10 H.J. Lu <hongjiu.lu@intel.com>
* bfdio.c (bfd_iovec): Add comments for bmmap. * bfd-in2.h: Regenerated.
Diffstat (limited to 'bfd/bfdio.c')
-rw-r--r--bfd/bfdio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/bfdio.c b/bfd/bfdio.c
index 9b85338..88a8738 100644
--- a/bfd/bfdio.c
+++ b/bfd/bfdio.c
@@ -158,7 +158,8 @@ DESCRIPTION
. int (*bclose) (struct bfd *abfd);
. int (*bflush) (struct bfd *abfd);
. int (*bstat) (struct bfd *abfd, struct stat *sb);
-. void* (*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
+. {* Just like mmap: (void*)-1 on failure, mmapped address on success. *}
+. void *(*bmmap) (struct bfd *abfd, void *addr, bfd_size_type len,
. int prot, int flags, file_ptr offset);
.};