This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch#2] bfd: Use size_t for length argument totarget_read_memory function passed into bfd_elf_bfd_from_remote_memory


> From: Jan Kratochvil <jan.kratochvil@redhat.com>
> Date: Fri, 1 Jun 2012 23:05:30 +0200

> bfd/
> 2012-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
>     	* 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 size_t.
(..."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/
> 2012-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
> 
> 	* 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.

If this is ready to commit and you don't have the time today,
just say the word.

brgds, H-P


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]