aboutsummaryrefslogtreecommitdiff
path: root/gdb/exec.c
diff options
context:
space:
mode:
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 b1f4f35..7719ac8 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.