mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
* target.c (target_mourn_inferior): Call bfd_cache_close_all
after having executed the target mourn_inferior routine.
This commit is contained in:
parent
b46df7a18c
commit
efbd6e753f
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user