]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/solib.c
disable_breakpoints_in_shlibs now takes a new parameter -- silent; callers
[thirdparty/binutils-gdb.git] / gdb / solib.c
index 3709469d90fd12051cebaae9a186ff7f7d4b88ce..c8a8ce7ec109b9b4df21d0e1103718099d75a2cd 100644 (file)
@@ -1311,6 +1311,8 @@ clear_solib()
   struct so_list *next;
   char *bfd_filename;
   
+  disable_breakpoints_in_shlibs (1);
+
   while (so_list_head)
     {
       if (so_list_head -> sections)
@@ -1327,7 +1329,7 @@ clear_solib()
       else
        /* This happens for the executable on SVR4.  */
        bfd_filename = NULL;
-      
+
       next = so_list_head -> next;
       if (bfd_filename)
        free ((PTR)bfd_filename);