aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.c
diff options
context:
space:
mode:
authorJerome Guitton <guitton@adacore.com>2004-07-30 12:05:45 +0000
committerJerome Guitton <guitton@adacore.com>2004-07-30 12:05:45 +0000
commitce7d45220e4ed342d4a77fcd2f312e85e1100971 (patch)
tree2bb07bfeb7b645aa260bb0c3c06d296062758810 /gdb/symfile.c
parent7946e94a55158e8100d029a5ee9825f35e82e422 (diff)
downloadgdb-ce7d45220e4ed342d4a77fcd2f312e85e1100971.zip
gdb-ce7d45220e4ed342d4a77fcd2f312e85e1100971.tar.gz
gdb-ce7d45220e4ed342d4a77fcd2f312e85e1100971.tar.bz2
* inflow.c (kill_command): release file handles in BFD.
* exec.c (exec_file_attach): Ditto. * symfile.c (symbol_file_add_with_addrs_or_offsets): Ditto.
Diffstat (limited to 'gdb/symfile.c')
-rw-r--r--gdb/symfile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symfile.c b/gdb/symfile.c
index 4f499c1..0e2d42c 100644
--- a/gdb/symfile.c
+++ b/gdb/symfile.c
@@ -894,6 +894,7 @@ symbol_file_add_with_addrs_or_offsets (bfd *abfd, int from_tty,
if (deprecated_target_new_objfile_hook)
deprecated_target_new_objfile_hook (objfile);
+ bfd_cache_close_all ();
return (objfile);
}