bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/15545] BFD cache modifies cacheable flag


From: tromey at sourceware dot org
Subject: [Bug binutils/15545] BFD cache modifies cacheable flag
Date: Tue, 01 Aug 2023 22:19:44 +0000

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.


reply via email to

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