* 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.
This commit is contained in:
Jerome Guitton 2004-07-30 12:05:45 +00:00
parent 7946e94a55
commit ce7d45220e
4 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2004-07-30 Jerome Guitton <guitton@gnat.com>
* 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.
2004-07-29 Andrew Cagney <cagney@gnu.org>
* PROBLEMS (mips-irix): Note that it is broken.

View 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.

View File

@ -597,6 +597,7 @@ kill_command (char *arg, int from_tty)
else
print_stack_frame (get_selected_frame (), 1, SRC_AND_LOC);
}
bfd_cache_close_all ();
}
/* Call set_sigint_trap when you need to pass a signal on to an attached

View File

@ -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);
}