Question about what BFD can access

Daniel Jacobowitz drow@false.org
Fri Jul 28 02:57:00 GMT 2006


On Thu, Jul 27, 2006 at 10:34:51PM -0400, Chris Ross wrote:
> >Search for _memory in the bfd header files, I think.
> 
>   I did some looking through the BFD sources earlier and found
> the references to bfd_elf_bfd_from_remote_memory.  But, I couldn't
> figure out where/how it was defined.  Very twisty maze, BFD is.  :-)
> 
>   There seems, on looking for '_memory' in the headers, to be a
> bfd_in_memory struct.  Not clear where it's used, or how to get
> one set-up, tho.  I assume the keep_memory member of the
> structure in the aout space isn't relevant?

Take a look at the usage in GDB; that may be more educational.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list