This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: bfd cache control
Nick Clifton writes:
> Hi Frank,
>
> > gdbtk uses calls to the bfd_cache_close() internal routine to
> > close some file handles fairly frequently. It looks like we need
> > to do the same thing in simulators. Can we export this function
> > properly, or else make a new broader "bfd_cache_flush()" call?
>
> I see no reason why the bfd_cache_close function cannot be used. By
> "export properly" I assume that you mean add a prototype to the
> appropriate header ? I am not sure which header this would be. It is
> already in bfd/libbfd.h. Where else would you expect to find the
> prototype ?
libbfd.h is for bfd's internal use only.
/* libbfd.h -- Declarations used by bfd library *implementation*.
(This include file is not for users of the library.)