2004-06-17 Jerome Guitton * inflow.c (kill_command): release file handles in BFD. * Makefile.in: Update inflow.c's dependencies. Index: inflow.c =================================================================== RCS file: /cvs/src/src/gdb/inflow.c,v retrieving revision 1.22 diff -u -p -r1.22 inflow.c --- inflow.c 28 Apr 2004 16:36:25 -0000 1.22 +++ inflow.c 17 Jun 2004 12:16:08 -0000 @@ -21,6 +21,7 @@ Boston, MA 02111-1307, USA. */ #include "defs.h" +#include "bfd.h" #include "frame.h" #include "inferior.h" #include "command.h" @@ -597,6 +598,8 @@ 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 Index: Makefile.in =================================================================== RCS file: /cvs/src/src/gdb/Makefile.in,v retrieving revision 1.587 diff -u -p -r1.587 Makefile.in --- Makefile.in 14 Jun 2004 20:40:39 -0000 1.587 +++ Makefile.in 17 Jun 2004 12:16:08 -0000 @@ -1964,7 +1964,7 @@ inf-loop.o: inf-loop.c $(defs_h) $(infer $(event_top_h) $(inf_loop_h) $(remote_h) inflow.o: inflow.c $(defs_h) $(frame_h) $(inferior_h) $(command_h) \ $(serial_h) $(terminal_h) $(target_h) $(gdbthread_h) $(gdb_string_h) \ - $(inflow_h) + $(inflow_h) $(bfd_h) infptrace.o: infptrace.c $(defs_h) $(frame_h) $(inferior_h) $(target_h) \ $(gdb_string_h) $(regcache_h) $(gdb_wait_h) $(command_h) \ $(gdb_dirent_h) $(gdbcore_h) $(gdb_stat_h)