aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorVladimir Prus <vladimir@codesourcery.com>2009-02-18 07:28:34 +0000
committerVladimir Prus <vladimir@codesourcery.com>2009-02-18 07:28:34 +0000
commitc86cf029308edd78d12d1bb67a1d4ae1c14a9155 (patch)
tree8bbde8319811ab5834de6e902c8be4e3bcfd42b4 /gdb/solib.c
parent62f59e66f8f3df327032d365d24884c69f79e759 (diff)
downloadgdb-c86cf029308edd78d12d1bb67a1d4ae1c14a9155.zip
gdb-c86cf029308edd78d12d1bb67a1d4ae1c14a9155.tar.gz
gdb-c86cf029308edd78d12d1bb67a1d4ae1c14a9155.tar.bz2
* mi/mi-interp.c (mi_solib_loaded, mi_solib_unloaded): New.
(mi_interpreter_init): Register the above. * solib.c (clear_solib): Notify solib unload. * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Do not disable breakpoints on a.out targets.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index cce4f7f..5a28292 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -908,6 +908,7 @@ clear_solib (void)
{
struct so_list *so = so_list_head;
so_list_head = so->next;
+ observer_notify_solib_unloaded (so);
if (so->abfd)
remove_target_sections (so->abfd);
free_so (so);