bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/29389] pe renaming implib breaks bfd/cache.c reopening of


From: amodra at gmail dot com
Subject: [Bug binutils/29389] pe renaming implib breaks bfd/cache.c reopening of closed archives
Date: Wed, 03 Aug 2022 09:27:26 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29389

--- Comment #27 from Alan Modra <amodra at gmail dot com> ---
(In reply to Nick Clifton from comment #26)
> I also think that we should keep part of my original patch - the part that
> makes bfd_set_filename() fail if the bfd has been closed by the file cache,
> and which also clears the cacheable flag on bfds which are renamed.  Do you
> agree ?

Yes, but have you checked uses of bfd_set_filename in gdb?  There are some that
looked suspicious to me, for example, gdb/solib-darwin.c:darwin_bfd_open, but
then on closer inpection I think they will be OK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]