aboutsummaryrefslogtreecommitdiff
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/exec.c
parent * archures.c (bfd_mach_sparc_64bit_p): Define. (diff)
downloadbinutils-gdb-ce7d45220e4ed342d4a77fcd2f312e85e1100971.tar.gz
binutils-gdb-ce7d45220e4ed342d4a77fcd2f312e85e1100971.tar.bz2
binutils-gdb-ce7d45220e4ed342d4a77fcd2f312e85e1100971.zip
* 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/exec.c')
-rw-r--r--gdb/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/exec.c b/gdb/exec.c
index b1f4f359b39..7719ac8feee 100644
--- a/gdb/exec.c
+++ b/gdb/exec.c
@@ -270,6 +270,7 @@ exec_file_attach (char *filename, int from_tty)
if (deprecated_exec_file_display_hook)
(*deprecated_exec_file_display_hook) (filename);
}
+ bfd_cache_close_all ();
}
/* Process the first arg in ARGS as the new exec file.