summaryrefslogtreecommitdiff
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
commit40d915abc6c8abeca812ac633ffd2b66b7afef9c (patch)
tree92bef62b7bcd01047d65d3ad16bf5af7634923c0 /gdb/symfile.c
parent9ea63231415dfa8ddb87f611414c2c1f2c0b6115 (diff)
downloadgdb-40d915abc6c8abeca812ac633ffd2b66b7afef9c.tar.gz
* 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 4f499c1fd41..0e2d42c4cce 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);
}