aboutsummaryrefslogtreecommitdiff
path: root/gdb/osfsolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/osfsolib.c')
-rw-r--r--gdb/osfsolib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/osfsolib.c b/gdb/osfsolib.c
index 0bed522..1d8be2c 100644
--- a/gdb/osfsolib.c
+++ b/gdb/osfsolib.c
@@ -835,6 +835,8 @@ clear_solib()
struct so_list *next;
char *bfd_filename;
+ disable_breakpoints_in_shlibs (1);
+
while (so_list_head)
{
if (so_list_head -> sections)
@@ -851,7 +853,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);