This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: provide pass-through value in bfd_elf_bfd_from_remote_memory
- From: Roland McGrath <roland at redhat dot com>
- To: Jim Blandy <jimb at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 21 May 2003 14:29:49 -0700
- Subject: Re: PATCH: provide pass-through value in bfd_elf_bfd_from_remote_memory
> This patch changes the interface to bfd_elf_bfd_from_remote_memory to
> allow the caller to pass an opaque data value through to the
> target_read_memory function.
Fine by me. If you're going to change the signature, I would change int to
bfd_size_type as well. I chose the old signature only because it matches
gdb's target_read_memory exactly and that's what I'm using. It's no
problem to use a wrapper for the calls in gdb.