summaryrefslogtreecommitdiff
path: root/gdb/irix5-nat.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
commit8c5c927165493f25e4d90f8fe26837e55df72ecb (patch)
treec99c42bbb16a94f80a65a6ce9602a427377ad805 /gdb/irix5-nat.c
parent69584168d59e9fe4a56d7ae52b180c6a94f9e6c8 (diff)
downloadgdb-8c5c927165493f25e4d90f8fe26837e55df72ecb.tar.gz
Commit Ilya Golubev's clear_solib() fixes.
Diffstat (limited to 'gdb/irix5-nat.c')
-rw-r--r--gdb/irix5-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/irix5-nat.c b/gdb/irix5-nat.c
index c1549fc0623..3c3284047cc 100644
--- a/gdb/irix5-nat.c
+++ b/gdb/irix5-nat.c
@@ -1061,6 +1061,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",