diff options
author | Kevin Buettner <kevinb@redhat.com> | 2001-09-14 00:40:29 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2001-09-14 00:40:29 +0000 |
commit | 8c5c927165493f25e4d90f8fe26837e55df72ecb (patch) | |
tree | c99c42bbb16a94f80a65a6ce9602a427377ad805 /gdb/solib.c | |
parent | 69584168d59e9fe4a56d7ae52b180c6a94f9e6c8 (diff) | |
download | gdb-8c5c927165493f25e4d90f8fe26837e55df72ecb.tar.gz |
Commit Ilya Golubev's clear_solib() fixes.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index dfcca0cc47b..c43858e8b55 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -730,6 +730,8 @@ clear_solib (void) { struct so_list *so = so_list_head; so_list_head = so->next; + if (so->abfd) + remove_target_sections (so->abfd); free_so (so); } |