aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorDavid Taylor <taylor@redhat.com>1999-01-19 16:20:39 +0000
committerDavid Taylor <taylor@redhat.com>1999-01-19 16:20:39 +0000
commit5337bd558beaa4f86b7cf9855ffee766754b3b42 (patch)
tree3131626f9e1ea84d2ab379c26ff6848b0e185001 /gdb/solib.c
parent9a0c4d8ca956b9b7b064d0e435fef7038880093f (diff)
downloadgdb-5337bd558beaa4f86b7cf9855ffee766754b3b42.zip
gdb-5337bd558beaa4f86b7cf9855ffee766754b3b42.tar.gz
gdb-5337bd558beaa4f86b7cf9855ffee766754b3b42.tar.bz2
disable_breakpoints_in_shlibs now takes a new parameter -- silent; callers
updated. new callers -- clear_solib (irix5-nat.c, osfsolib.c, solib.c). PR 16495 / PR 18213.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r--gdb/solib.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 3709469..c8a8ce7 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -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);