This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add interface for registering JITed code
On Fri, Jul 24, 2009 at 4:30 AM, Ulrich Weigand<uweigand@de.ibm.com> wrote:
> I'd suggest that Reid instead use bfd_openr_iovec to access an ELF image
> directly in inferior memory, as is currently done e.g. by
> ?remote.c:remote_bfd_open
> ?spu-linux-nat.c:spu_bfd_open
> ?solib-spu.c:spu_bfd_open (is about to be introduced by the patch
> ?http://sourceware.org/ml/gdb-patches/2009-07/msg00546.html)
> This works without BFD changes or directly accessing BFD internals ...
And it could work if a more scatter/gather kind of access was desired.
Heh, learn something new every day. :-)