aboutsummaryrefslogtreecommitdiff
path: root/bfd/vms-lib.c
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2011-06-27 08:41:00 +0000
committerTristan Gingold <gingold@adacore.com>2011-06-27 08:41:00 +0000
commit4c95ab762cbc17e3221e4cc38e728e665576793f (patch)
treedb69273599930cdda71538ce2a40b1932d7bb230 /bfd/vms-lib.c
parent62a35308be34436a66993d20f36146cb4ebc500b (diff)
downloadgdb-4c95ab762cbc17e3221e4cc38e728e665576793f.zip
gdb-4c95ab762cbc17e3221e4cc38e728e665576793f.tar.gz
gdb-4c95ab762cbc17e3221e4cc38e728e665576793f.tar.bz2
2011-06-27 Tristan Gingold <gingold@adacore.com>
* cache.c: Include bfd_stdint.h. (cache_bmmap): Change profile. Return region start and size. * bfdio.c (struct bfd_iovec): Change bmmap profile. (bfd_mmap): Change profile and adjust. Update comment. (memory_bmmap): Change profile. * opncls.c (opncls_bmmap): Change profile. * vms-lib.c (vms_lib_bmmap): Likewise. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/vms-lib.c')
-rw-r--r--bfd/vms-lib.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/bfd/vms-lib.c b/bfd/vms-lib.c
index 888982d..0584186 100644
--- a/bfd/vms-lib.c
+++ b/bfd/vms-lib.c
@@ -1196,11 +1196,13 @@ vms_lib_bstat (struct bfd *abfd ATTRIBUTE_UNUSED,
static void *
vms_lib_bmmap (struct bfd *abfd ATTRIBUTE_UNUSED,
- void *addr ATTRIBUTE_UNUSED,
- bfd_size_type len ATTRIBUTE_UNUSED,
- int prot ATTRIBUTE_UNUSED,
- int flags ATTRIBUTE_UNUSED,
- file_ptr offset ATTRIBUTE_UNUSED)
+ void *addr ATTRIBUTE_UNUSED,
+ bfd_size_type len ATTRIBUTE_UNUSED,
+ int prot ATTRIBUTE_UNUSED,
+ int flags ATTRIBUTE_UNUSED,
+ file_ptr offset ATTRIBUTE_UNUSED,
+ void **map_addr ATTRIBUTE_UNUSED,
+ bfd_size_type *map_len ATTRIBUTE_UNUSED)
{
return (void *) -1;
}