* inflow.c (kill_command): release file handles in BFD.
[deliverable/binutils-gdb.git] / gdb / exec.c
index 4b43808e2467b149d51da3f8212001e5f9f33f81..7719ac8feee28bf14f4d0e36bba3d63faeb3c303 100644 (file)
@@ -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.
@@ -745,7 +746,7 @@ This can be used if the exec file does not contain section addresses,\n\
 file itself are wrong.  Each section must be changed separately.  The\n\
 ``info files'' command lists all the sections and their addresses.");
 
-  add_show_from_set
+  deprecated_add_show_from_set
     (add_set_cmd ("write", class_support, var_boolean, (char *) &write_files,
                  "Set writing into executable and core files.",
                  &setlist),
This page took 0.024947 seconds and 4 git commands to generate.