mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 09:08:59 +00:00
* target.c (target_mourn_inferior): Call bfd_cache_close_all
after having executed the target mourn_inferior routine.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
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
|
||||
|
||||
@@ -1941,6 +1941,12 @@ target_mourn_inferior (void)
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user