aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdb_bfd.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2023-11-11 09:46:44 -0700
committerTom Tromey <tom@tromey.com>2024-01-08 18:40:21 -0700
commita2eb3f887cba11c87b625dbbd058557025e57596 (patch)
tree88a2c18a21f44c157d2e60810cddc0e3f16be19b /gdb/gdb_bfd.h
parenta37fbcfec5a2f6ac7ccaf508b445f313a55ab7e0 (diff)
downloadbinutils-a2eb3f887cba11c87b625dbbd058557025e57596.zip
binutils-a2eb3f887cba11c87b625dbbd058557025e57596.tar.gz
binutils-a2eb3f887cba11c87b625dbbd058557025e57596.tar.bz2
Add a couple of bfd_cache_close calls
This adds a couple of calls to bfd_cache_close at points where a BFD isn't actively needed by gdb. Normally at these points, all the needed section data is already mapped, so we can simply close the file descriptor. This is harmless at worst, because if this is needed after all, the BFD file descriptor cache will reopen it.
Diffstat (limited to 'gdb/gdb_bfd.h')
0 files changed, 0 insertions, 0 deletions