summaryrefslogtreecommitdiff
path: root/gdb/osfsolib.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2001-09-14 00:40:29 +0000
committerKevin Buettner <kevinb@redhat.com>2001-09-14 00:40:29 +0000
commit2069d78d3c80b9fa6ceef866853ce966186ee300 (patch)
tree8ff4cf31465ed077c287dc941f841aa76f7f4c70 /gdb/osfsolib.c
parent93de26c18808f0806c956139c1b79c26f46a2368 (diff)
downloadbinutils-gdb-2069d78d3c80b9fa6ceef866853ce966186ee300.tar.gz
Commit Ilya Golubev's clear_solib() fixes.
Diffstat (limited to 'gdb/osfsolib.c')
-rw-r--r--gdb/osfsolib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c
index b5a61518bc1..734cbc23ab5 100644
--- a/gdb/osfsolib.c
+++ b/gdb/osfsolib.c
@@ -802,6 +802,7 @@ clear_solib (void)
}
if (so_list_head->abfd)
{
+ remove_target_sections (so_list_head->abfd);
bfd_filename = bfd_get_filename (so_list_head->abfd);
if (!bfd_close (so_list_head->abfd))
warning ("cannot close \"%s\": %s",