bfd/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 4 Jun 2012 14:35:25 +0000 (14:35 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 4 Jun 2012 14:35:25 +0000 (14:35 +0000)
commitfe78531dcfcd709286a292c7707b987685f61919
tree7cff9e175034d5854a0501d29f3a7695f201707c
parent78e5175a52db89d5e51fdbcb020ef040f68fe5c1
bfd/
* bfd-in.h (bfd_elf_bfd_from_remote_memory): Make LEN argument
of target_read_memory as bfd_size_type.
* bfd-in2.h: Regenerate.
* elf-bfd.h (elf_backend_bfd_from_remote_memory): Make LEN
argument of target_read_memory as bfd_size_type.
(_bfd_elf32_bfd_from_remote_memory): Likewise.
(_bfd_elf64_bfd_from_remote_memory): Likewise.
* elf.c (bfd_elf_bfd_from_remote_memory): Likewise.
* elfcode.h (NAME(_bfd_elf,bfd_from_remote_memory)): Likewise.

gdb/
* symfile-mem.c: 3 new gdb_static_assert for target_read_memory_bfd
parameters.
(target_read_memory_bfd): New function.
(symbol_file_add_from_memory): Use it.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf-bfd.h
bfd/elf.c
bfd/elfcode.h
gdb/ChangeLog
gdb/symfile-mem.c