after having executed the target mourn_inferior routine.
+2009-04-14 Joel Brobecker <brobecker@adacore.com>
+
+ * target.c (target_mourn_inferior): Call bfd_cache_close_all
+ after having executed the target mourn_inferior routine.
+
2009-04-14 Eli Zaretskii <eliz@gnu.org>
* config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if
t->to_mourn_inferior (t);
if (targetdebug)
fprintf_unfiltered (gdb_stdlog, "target_mourn_inferior ()\n");
+
+ /* We no longer need to keep handles on any of the object files.
+ Make sure to release them to avoid unnecessarily locking any
+ of them while we're not actually debugging. */
+ bfd_cache_close_all ();
+
return;
}
}