abort in bfd_cache_lookup_worker

Nick Clifton nickc@redhat.com
Sun Nov 6 08:49:00 GMT 2005
Hi Daniel,

> On Wed, Oct 26, 2005 at 11:09:05AM +0100, Nick Clifton wrote:
>> Hmm, maybe what we should do is not abort, but issue a descriptive error 
>> message ("file <foo> can no longer be found") and then exit ?  That way 
>> we do not have to check all potential users of bfd_cache_lookup.
> 
> No: BFD is a library.  It has long-lived users with UI, not just the
> command line binutils tools.  For instance, this abort has been
> reported a half-dozen times as a GDB bug.

Good point - sorry, I should have remembered that myself.

Cheers
   Nick





More information about the Binutils mailing list