https://sourceware.org/bugzilla/show_bug.cgi?id=15545
--- Comment #6 from Tom Tromey <tromey at sourceware dot org> --- Actually it seems to me that the flags essentially already have to be saved in order to reopen properly at all, and indeed bfd_open_file checks: switch (abfd->direction) so I wonder if there could be a way to set this even in the situation where a file descriptor is passed in. This would be enough for gdb. Also maybe gdb is safe here anyway because I see now that it explicitly calls bfd_set_cacheable in various spots. -- You are receiving this mail because: You are on the CC list for the bug.